Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use latest thread-loader with expose-loader@1.x.x #101

Open
MhMadHamster opened this issue Sep 21, 2020 · 0 comments
Open

Cannot use latest thread-loader with expose-loader@1.x.x #101

MhMadHamster opened this issue Sep 21, 2020 · 0 comments

Comments

@MhMadHamster
Copy link

  • 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.ts
function foo() {};

export default foo;

How Do We Reproduce?

Repo with example: https://github.com/MhMadHamster/webpack-expose-ts-modules

Initially opened issue in the expose-loader repository: webpack-contrib/expose-loader#115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant