aurelia / loader-webpack

An implementation of Aurelia's loader interface to enable webpack.
MIT License
26 stars 10 forks source link

Missing Webpack declaration in /dist/**/*.d.ts #36

Closed Xceno closed 6 years ago

Xceno commented 6 years ago

I'm submitting a bug report

Please tell us about your environment:

Current behavior: The type definition is missing a Webpack reference.

[at-loader] Checking finished with 1 errors [at-loader] ./node_modules/aurelia-loader-webpack/dist/commonjs/aurelia-loader-webpack.d.ts:31:51 TS2503: Cannot find namespace 'Webpack'. Link to source

Expected/desired behavior:

jods4 commented 6 years ago

This is a bug in at-loader. We worked around it by temporarily disabling the types in aurelia-webpack-plugin@2.0.0-rc.4. I suspect you use RC3 or before (latest is RC5).

jods4 commented 6 years ago

Closing as a duplicate of aurelia/webpack-plugin#118

Xceno commented 6 years ago

Thanks for pointing me in the right direction once again!