Open mattcollier opened 7 years ago
Update: i have forked localforage
and renamed the .babelrc
file there which gets us past the aforementioned error.
Which brings us to an uglifyjs error
Unexpected token: punc ()
The uglifyjs error can be avoided by specifying the --webpack-uglify false
option during bedrock optimizaiton.
The uglifyjs error is well know and is apparently caused by uglifyjs encountering some ES6 code that it does not understand.
There is a module
localForage
that is installed as part ofangular-credential-mediator-site
. This module has a .bablerc file which calls for aadd-module-exports
plugin.When attempting to optimize the
angular-credential-mediator-site
module, an error is thrown about an unknown pluginadd-module-exports
. Here is the full errorI'm going to try adding that babel plugin to the top-level module to see if it helps.