We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using webpack 4.28.4 and typescript 3.5.1.
4.28.4
3.5.1
I tried to install the comlink-loader, everything seems fine, but it complain my worker is not a module.
comlink-loader
All files must be modules when the '--isolatedModules' flag is provided.
// something.worker.ts import { doSomething } from './util'; export const processSomething = async(payload) => { return doSomething(payload); }
This is my webpack config for comlink-loader, it is basically copy and paste.
{ test: /\.worker\.ts$/i, use: [{ loader: 'comlink-loader', options: { singleton: true } }] },
Do you see if I'm missing anything here ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using webpack
4.28.4
and typescript3.5.1
.I tried to install the
comlink-loader
, everything seems fine, but it complain my worker is not a module.This is my webpack config for comlink-loader, it is basically copy and paste.
Do you see if I'm missing anything here ?
The text was updated successfully, but these errors were encountered: