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

Chunk ids are changing #22

Open
ryssbowh opened this issue Dec 29, 2020 · 1 comment
Open

Chunk ids are changing #22

ryssbowh opened this issue Dec 29, 2020 · 1 comment

Comments

@ryssbowh
Copy link

ryssbowh commented Dec 29, 2020

Hi,

Since v2, the content hash are changing for the splitted files, which didn't happen before. So I've got :

  • app~app.4bf21a179adf6439d480.css
  • app~app.desktop.00c9c0f95b0835f1784dbaffa6805e38d14ef063.css
  • app~app.mobile.705c69c8d444a95e60684a399e8b89341b9e85a7.css
  • app~app.tabletLandscape.d1b613ba0bda4144127ba1a372feaab5e2927786.css
  • app~app.tabletPortrait.bb0f2237e997d531df82d54166031a16918cc537.css

Which is impossible to use since they are not mapped in the manifest.

I'm using the following config for mini-css-extract-plugin :
filename: '[name].[contenthash].css',
chunkFilename: '[name].[contenthash].css'

I see it's related to another issue with ids changing, is it the expected behaviour now then ? If so, can we output results in the manifest so we can have access to the files names ?

Thanks

@mike-diamond
Copy link
Owner

Sure will update it to use with the manifest, until that you can read the output folder with CSS files (using fs) to get the list of them. Or use V1

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