10up/grunt-wp-plugin

Gruntfile.js has errors

Closed this issue · 1 comments

Attempting to run grunt produces the following errors:

/Users/tddewey/testplugin/Gruntfile.js:58
                    mangle: {
                    ^^^^^^
Loading "Gruntfile.js" tasks...ERROR
>> SyntaxError: Unexpected identifier

Need a comma on line 56.

Linting Gruntfile.js...ERROR
[L1:C1] Use the function form of "use strict".
'use strict';

Move "use strict" into the the module.exports function to fix.

This report was filed against an earlier build, and is no longer true.