Skip to content

Feature parity with worker-loader #14198

Answered by alexander-akait
mmazzarolo asked this question in Q&A
Discussion options

You must be logged in to vote

Support inlining web workers (that I assume is covered in Inline worker in webpack 5?).

I don't think we need this in 2021, anyway it is possible to using assets/inline

Support using publicPath for the worker bundle. I recently wrote about this in a blog post. Am I right assuming the "new" way to deal with it is by setting webpack_public_path at runtime?

You can move worker to own entry and setup publicPath or use multi compiler mode

Replies: 5 comments 25 replies

Comment options

You must be logged in to vote
6 replies
@alexander-akait
Comment options

@AprilArcus
Comment options

@AprilArcus
Comment options

@ShuZhong
Comment options

@CraigglesO
Comment options

Answer selected by mmazzarolo
Comment options

You must be logged in to vote
11 replies
@chyzwar
Comment options

@zenotsai
Comment options

@alexander-akait
Comment options

@alexander-akait
Comment options

@alexander-akait
Comment options

Comment options

You must be logged in to vote
1 reply
@alexander-akait
Comment options

Comment options

You must be logged in to vote
7 replies
@alexander-akait
Comment options

@AprilArcus
Comment options

@alexander-akait
Comment options

@zlk89
Comment options

@Akimotorakiyu
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants