[x] There is an issue for the bug/feature this PR is for.
[x] All existing tests are passing
[x] Tests for the changes are included
What is the current behavior?
Build breaks on NS v6 because WebPack cannot inline const enums using transpileOnly option.
What is the new behavior?
Client code that uses the enums must change transpileOnly in webpack.config.js to false.
Fixes/Implements/Closes #90 .
Client code that uses the enums must change transpileOnly in webpack.config.js to false.
Note that Angular builds do not need to make any changes since they do not have a transpileOnly mode.
PR Checklist
What is the current behavior?
Build breaks on NS v6 because WebPack cannot inline
const enum
s usingtranspileOnly
option.What is the new behavior?
Client code that uses the enums must change
transpileOnly
inwebpack.config.js
tofalse
.Fixes/Implements/Closes #90 .
Client code that uses the enums must change
transpileOnly
inwebpack.config.js
tofalse
. Note that Angular builds do not need to make any changes since they do not have atranspileOnly
mode.