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
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:
Reproducing the error
Download the source of this repo
open any /dist/**/aurelia-loader-webpack.d.ts
It will complain about the missing Webpack namespace at line 31.
What is the expected behavior?
The typings should be able to resolve the Webpack namespace
What is the motivation / use case for changing the behavior?
Apps that use this package nonetheless compile successfully, but it's confusing to see this error all the time.
It seems to be easily resolved by copying webpack-hot-interface.d.ts into dist/**/
The text was updated successfully, but these errors were encountered:
This is a bug in at-loader.
We worked around it by temporarily disabling the types in [email protected].
I suspect you use RC3 or before (latest is RC5).
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 6.9.1
yarn Version: 1.3.2
Webpack: 3.4.1
Browser: all
Language: TypeScript 2.6.1
Current behavior:
The type definition is missing a Webpack reference.
Expected/desired behavior:
Reproducing the error
/dist/**/aurelia-loader-webpack.d.ts
What is the expected behavior?
The typings should be able to resolve the Webpack namespace
What is the motivation / use case for changing the behavior?
Apps that use this package nonetheless compile successfully, but it's confusing to see this error all the time.
It seems to be easily resolved by copying
webpack-hot-interface.d.ts
intodist/**/
The text was updated successfully, but these errors were encountered: