-
-
Notifications
You must be signed in to change notification settings - Fork 903
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
Named Webpack chunks of PDF.js #274
Comments
Current names are:
|
Hello, |
In my code, I have |
I'm afraid these are the chunks created by Mozilla's PDF.js which is our dependency. They shouldn't use Webpack magic comments though in case someone else would use the same webpackChunkName. So in this case it's best to use it as it is. You could also fork PDF.js and add your magic comments there, but I doubt if it's worth it. |
Well you could create really specific magic comments that won't ever collide. Just something so I can reliably use a regex to move these files somewhere else. If I add another chunk, the mozilla chunks may end up turning into 5 and 6 making my code brittle and unreliable. |
I agree that it might be an issue. Maybe it will be worth discussing with Mozilla on their page? |
It would be nice if the webpack chunks created by this project were named so I can handle them separately.
The text was updated successfully, but these errors were encountered: