Closed rozetko closed 5 years ago
node dist/server fails with SyntaxError: Unexpected token function when node 6.x is used.
node dist/server
SyntaxError: Unexpected token function
The reason is that babel-loader is not used. babel-loader is not used because of wrong modules syntax in webpack config.
babel-loader
modules
webpack.614.prod.conf.js
node dist/server
fails withSyntaxError: Unexpected token function
when node 6.x is used.The reason is that
babel-loader
is not used.babel-loader
is not used because of wrongmodules
syntax in webpack config.Changes
modules
syntax inwebpack.614.prod.conf.js