Closed ckotzbauer closed 3 years ago
Thanks for this report, it seems the GlobDependenciesPlugin
isn't register the modules it finds via includeAll
properly and the modules get merged/mangled/optimized by Webpack. I'll have a look
This probably is fixed in latest master as well, can you @ckotzbauer help give it a go?
That's great @bigopon. I will test it in the evening and give feedback!
Thanks for this bugfix. It fixes the issue :tada: :smile:
I'm submitting a bug report
Please tell us about your environment:
Operating System:
Linux Ubuntu 21.04
Node Version: 15.13.0
NPM Version: 7.7.6
JSPM OR Webpack AND Version Webpack 5.38.1
Browser: Chrome latest
Language: TypeScript 4.3
Current behavior: If I create a production build with the following webpack-config, the build itself succeeds, but at the app-startup I only see the error-message from above from Aurelia. When I create a dev-build this behaviour is gone. I use the latest versions of the npm-packages. I don't rewrote the whole config for the webpack-update, so maybe there's a mistake too. Does anybody has a similar problem?
Expected/desired behavior: App starts correctly.
What is the expected behavior? App starts correctly.
What is the motivation / use case for changing the behavior?
Webpack-Config: