Closed KerryRJ closed 7 years ago
Since it's failing with Unexpected token import
, it sounds like the version of Node you're running doesn't support ES6 import
statements. I'm not sure how it could be working when you call it on the command line - perhaps you're running a different version of Node in that case.
I'll close this because it doesn't sound like an issue with any of the code here, but please let us know if you track this down and think it's because we're doing something wrong. Thanks!
I am attempting to use @easywebpack in a webpack.config.ts file. I am able to build the bundles from Powershell using the webpack command. When trying to start the project from within VS, startup.cs fails with a User-Unhandled.
What am I missing?
Windows 10 -v 1607 Build 14393.693 Node -v 7.6.0 Npm -v 4.1.2 Yarn -v 0.21.3
package.json
tsconfig.json
tsconfig.tsnode.json
webpack.config.ts
code in startup.cs