Closed Xceno closed 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).
Closing as a duplicate of aurelia/webpack-plugin#118
Thanks for pointing me in the right direction once again!
I'm submitting a bug report
Please tell us about your environment:
Operating System: Windows 10
Node Version: 6.9.1
NPM Version: 3.10.8
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/**/