browserify: { options: { transform: ['brfs'], debug: true }, debug: { files: {'build/test.min.js': 'src/test.js'}, } }
As long as the added transform: ['brfs']
, will be error, remove the normal compile, what is the situation ah?
$ gruntRunning "browserify:debug" (browserify) task>> TypeError: Cannot read property 'apply' of undefined while parsing file: X:\Users\javascript\Desktop\LEARN\learn_grunt\src\test.jsWarning: Error running grunt-browserify. Use --force to continue.Aborted due to warnings.
Reply content:
browserify: { options: { transform: ['brfs'], debug: true }, debug: { files: {'build/test.min.js': 'src/test.js'}, } }
As long as the added transform: ['brfs']
, will be error, remove the normal compile, what is the situation ah?
$ gruntRunning "browserify:debug" (browserify) task>> TypeError: Cannot read property 'apply' of undefined while parsing file: X:\Users\javascript\Desktop\LEARN\learn_grunt\src\test.jsWarning: Error running grunt-browserify. Use --force to continue.Aborted due to warnings.