Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork68
Open
Description
- Operating System: Windows 10
- Node Version: 12.13
- NPM Version: yarn 1.12.3
- webpack Version: 4.44.2
- thread-loader Version: 3.0.0
Expected Behavior
No errors.
Actual Behavior
Error:Cannot read property 'hooks' of undefined occures when building project with exposed ts modules.
Code
// index.tsfunctionfoo(){};exportdefaultfoo;
How Do We Reproduce?
Repo with example:https://github.com/MhMadHamster/webpack-expose-ts-modules
Initially opened issue in theexpose-loader repository:webpack/expose-loader#115
Metadata
Metadata
Assignees
Labels
No labels