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
I got tree shaking to work with Angular 2.1/Webpack 2 beta. All seems to be good, except my test runner doesn't work anymore. As soon as I switched TypeScript module from commonjs to es6 (target has remained the same, es5) to get tree shaking working, Karma now blows up. I get a bunch of unexpected token (referring to the ES6 import, and a bunch of other errors, failed to parse file... something.ts. Has anyone had luck getting TypeScript/Tree Shaking working with Angular 2 yet?
The text was updated successfully, but these errors were encountered:
I got tree shaking to work with Angular 2.1/Webpack 2 beta. All seems to be good, except my test runner doesn't work anymore. As soon as I switched TypeScript module from commonjs to es6 (target has remained the same, es5) to get tree shaking working, Karma now blows up. I get a bunch of unexpected token (referring to the ES6 import, and a bunch of other errors, failed to parse file... something.ts. Has anyone had luck getting TypeScript/Tree Shaking working with Angular 2 yet?
The text was updated successfully, but these errors were encountered: