-
Notifications
You must be signed in to change notification settings - Fork 506
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Error in codec-pool-worker.js #297
Comments
Are you using the version 4 of webpack? |
I am using version 3.11.0 of webpack (Angular 5) |
Should I use another version of zip.js ? |
You probably need to include a loader to add the support of |
Seems like a good solution for some projects, but it didn't work on mine. btw, I found this info from the webpack-import-meta-loader plugin author
|
I was not able to include babel in the build script, cf. #296 (comment). |
I'm moving this issue in the Discussions because it's not a bug in zip.js which uses rollup to build files while the question is related to webpack 3. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
ERROR in ./node_modules/@zip.js/zip.js/lib/core/codecs/codec-pool-worker.js
Module parse failed: Unexpected token (110:57)
You may need an appropriate loader to handle this file type.
|
| function getWorker(options = {}) {
| return new Worker(new URL(workerData.scripts[0], import.meta.url), options);
| }
|
webpack: Failed to compile.
The text was updated successfully, but these errors were encountered: