ngrx/store is not being transpiled into es5
I'm submitting a...
[x] Bug report
What is the current behavior?
When ngtools/webpack loader is used to compile angular app, ngrx/store is not being transpiled into es5.
Expected behavior:
When awesome-typescript-loader is used (dev build) ngrx/store is being transpiled into es5.
Minimal reproduction of the problem with instructions:
Repo: https://github.com/vagonpidarasov/ngrx-platform-issues-679
npm installnpm run devruns webpack dev server athttp://127.0.0.1:8080/npm run build:devbuilds dev version of the app usingawesome-typescriptloadernpm run build:prodbuilds prod version of the app usingngtools/webpackloader
Steps to reproduce:
- build dev and prod versions of the app
- open
dev/vendor.jsfile and search for'@ngrx/store/init'string, confirm that all es6/typescript was transpiled to es5 - open
prod/vendor.jsfile and search for'@ngrx/store/init'string, locate following es6 expressionclass ActionsSubject extends __WEBPACK_IMPORTED_MODULE_1_rxjs_BehaviorSubject__["BehaviorSubject"] {
Version of affected browser(s),operating system(s), npm, node and ngrx:
Chrome 61 / IE11, Windows 7 Enterprise, MACOS
"@ngrx/core": "1.2.0",
"@ngrx/store": "4.1.1",
"@ngtools/webpack": "1.9.3",
Other information:
Please suggest a workaround.
I believe this issue has already been fixed in master via #630
And when should we expect a new release? The last version I was able to reproduce the issue with was 4.1.1
Is there any time indication when this will be released on npm? This is blocking for us at the moment.