Closed Pk-T closed 8 years ago
All files on this project that run on node are not using es6 features, only the ones going to the client do. The author isn't using babel for the back end so he can't use 'import', let and const should work if you put 'use strict' and use node v4+
look at https://github.com/babel/example-node-server for an example of how to run es6 features in node.
Thanks a lot
I have tried to use es6 features inside config file which is called by webpack-dev-server, but I keep on getting errors as these are not supported? Is there some reason for this? The whole application does use these features.