-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Bug report
What is the current behavior?
Running [email protected] fails when importing rxjs (which uses tslib):
If the current behavior is a bug, please provide the steps to reproduce.
Details of this error are reproducible in https://github.com/philcockfield/webpack5-tslib-error
The demo repo is a minimal webpack configuration using ts-loader that imports rxjs. It also behaves this way with vanilla JS and babel loaders.
What is the expected behavior?
The page loads with no errors. This demo repo works fine with [email protected] and then cleanly fails by flipping the version up to 5.0.0-rc.3
Other relevant information:
webpack version: 5.0.0-rc.3, 5.0.0-rc.4
Node.js version: 12.16.3
Operating System: MacOS (10.15.7)
Additional tools: -

