Hi all,
I'm currently trying to set up a project using the following tools:
"devDependencies": {
"google-closure-compiler-js": "^20180204.0.0",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.11",
},
"dependencies": {
"google-closure-library": "^20180204.0.0"
}
Additionally, I'm using NPM 5.6.0 and Node 8.10.0.
Any idea of what's going on here?
Also, if I remove this from webpack.config.js:
const ClosureCompiler = require('google-closure-compiler-js').webpack;
plugins: [
new ClosureCompiler({
options: {
languageIn: 'ECMASCRIPT6',
languageOut: 'ECMASCRIPT5',
compilationLevel: 'ADVANCED',
warningLevel: 'VERBOSE',
},
})
]
I get the following errors:
ERROR in ./node_modules/google-closure-library/closure/goog/bootstrap/nodejs.js
Module not found: Error: Can't resolve 'fs'
ERROR in ./node_modules/google-closure-library/closure/goog/promise/testsuiteadapter.js
Module not found: Error: Can't resolve 'promises_aplus_tests
Thank you in advance