-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Related to this issue#10.
- Operating System: macOS 12.5.1
- Node Version: v16.18.0
- NPM Version: 8.19.2
- webpack Version: 5.76.1
- thread-loader Version: 4.0.2
Expected Behavior
Using with less-loader can work.
Actual Behavior
Error:
TypeError: this.getLogger is not a function
at Object.lessLoader (/xxx/thread-loader-demo/node_modules/.pnpm/less-loader@11.1.2_less@4.1.3+webpack@5.76.1/node_modules/less-loader/dist/index.js:36:23)
at LOADER_EXECUTION (/xxx/thread-loader-demo/node_modules/.pnpm/loader-runner@4.3.0/node_modules/loader-runner/lib/LoaderRunner.js:132:14)
at runSyncOrAsync (/xxx/thread-loader-demo/node_modules/.pnpm/loader-runner@4.3.0/node_modules/loader-runner/lib/LoaderRunner.js:133:4)
at iterateNormalLoaders (/xxx/thread-loader-demo/node_modules/.pnpm/loader-runner@4.3.0/node_modules/loader-runner/lib/LoaderRunner.js:251:2)
at /xxx/thread-loader-demo/node_modules/.pnpm/loader-runner@4.3.0/node_modules/loader-runner/lib/LoaderRunner.js:224:4
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3)Code
https://github.com/KyrieLii/thread-loader-demo/blob/main/webpack.config.js
How Do We Reproduce?
git clone git@github.com:KyrieLii/thread-loader-demo.git
npm i -g pnpm@7
pnpm install
pnpm startkarmeleon, yuanhongboo and kenrick95
Metadata
Metadata
Assignees
Labels
No labels