-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
plugin-legacy: polyfills chunk should respect output.entryFileNames option #4221
Closed
4 tasks done
Comments
7 tasks
Waiting for repair! |
Hey, I have the same issue. I managed to remove all hashes in the output, except for polyfills-legacy js. |
Same issue for me. Has anyone found a workaround for this? |
same issue for me |
temporary plan
const res = await build({
build: {
rollupOptions: {
output: {
entryFileNames: "[name].js",
}
}
}
}) waiting for repair! |
This was referenced May 20, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Clear and concise description of the problem
As a developer I want to disable hashing of filenames, so I can always reference the same polyfill file.
Suggested solution
I would be nice if the plugin-legacy would follow the
build.rollupOptions.output.entryFileNames
option. In my case, I would like to add<script nomodule src="dist/assets/polyfills-legacy.js"></script>
to my HTML.I guess it would involve adding
entryFileNames: buildOptions.rollupOptions.output.entryFileNames,
to the output config ofbuildPolyfillChunk()
.Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: