You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My webpack.config.js file is written with ES6 conventions, and in the zuul.config.js file I just require my webpack config, but zuul gives the following error:
(function (exports, require, module, __filename, __dirname) { import universal from "./lib/universal-webpack";
^^^^^^
SyntaxError: Unexpected token import
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/data/projects/platform/zuul.config.js:4:12)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
Is there a way around this?
The text was updated successfully, but these errors were encountered:
My
webpack.config.js
file is written with ES6 conventions, and in thezuul.config.js
file I just require my webpack config, but zuul gives the following error:Is there a way around this?
The text was updated successfully, but these errors were encountered: