Open jsgoupil opened 7 years ago
Add it first.
(PROD ? [] : ['@angularclass/hmr-loader']).concat(['awesome-typescript-loader', (...)])
@cormacrelf what would this change? It's the output that causes an error with tsconfig.json checking for no Implicit any.
I have no idea why it works, but it does. I initially put @angularclass/hmr-loader
first without a PROD switch, but this started happening when I put it last with the switch. You are witnessing the magic of front-end JS config. Behold.
@cormacrelf yes, it works.
By adding this loader:
.concat(isProd ? [] : '@angularclass/hmr-loader'),
I get the following errors when using webpack:
tsconfig.json has
"noImplicitAny": true,