Skip to content
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

webpack.config.js [ext] extra dots #25678

Closed
gnought opened this issue Oct 17, 2023 · 1 comment
Closed

webpack.config.js [ext] extra dots #25678

gnought opened this issue Oct 17, 2023 · 1 comment

Comments

@gnought
Copy link
Contributor

gnought commented Oct 17, 2023

According https://webpack.js.org/configuration/output/#template-strings, webpack template string [ext] includes a leading dot.

Is it a bug that webpack.config.js includes extra dots in the following lines?

filename: '[name].[contenthash:8].[ext]',

filename: '[name].[contenthash:8].[ext]',

I expect the correction should be

filename: '[name].[contenthash:8][ext]', 
@rusackas
Copy link
Member

Wow, I believe you're right! This all seems to have been handled gracefully so nobody ever saw a problem, but I do believe you're right, and I see some double-dotted files in my filesystem from it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants