Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit 11d695d

Browse files
committed
Gruntfile.js: minor tweaks
1 parent 8d412bc commit 11d695d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

Gruntfile.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,9 @@ module.exports = function(grunt) {
272272
options: {
273273
config: '.eslintrc.json'
274274
},
275-
gruntfile: {
276-
src: 'Gruntfile.js'
277-
},
278-
src: {
275+
dist: {
279276
src: [
277+
'Gruntfile.js',
280278
'<%= dirs.src %>/assets/js/*.js',
281279
'!<%= dirs.src %>/assets/js/google-analytics.js'
282280
]
@@ -290,7 +288,7 @@ module.exports = function(grunt) {
290288
accessibility: {
291289
options: {
292290
accessibilityLevel: 'WCAG2AA',
293-
browser: true,
291+
browser: false,
294292
reportLevels: {
295293
notice: false,
296294
warning: false,
@@ -308,7 +306,7 @@ module.exports = function(grunt) {
308306

309307
});
310308

311-
var buildTasks = [
309+
grunt.registerTask('build', [
312310
'clean',
313311
'jekyll',
314312
'useminPrepare',
@@ -322,9 +320,7 @@ module.exports = function(grunt) {
322320
'sri_hash',
323321
'doctype',
324322
'htmlmin'
325-
];
326-
327-
grunt.registerTask('build', buildTasks);
323+
]);
328324

329325
grunt.registerTask('test', [
330326
'build',

0 commit comments

Comments
 (0)