Anidetrix / rollup-plugin-styles

🎨 Universal Rollup plugin for styles: PostCSS, Sass, Less, Stylus and more.
https://anidetrix.github.io/rollup-plugin-styles
MIT License
242 stars 43 forks source link

Updating styles shouldn't invalidates all chunk hashes #143

Closed nstepien closed 3 years ago

nstepien commented 3 years ago

My configuration looks like this:

    styles({
      mode: ['extract', 'main.css'],
      autoModules: true,
      minimize: process.env.NODE_ENV === 'production'
    }),

If I build, tweak a stylesheet, and build again, all my js chunks get a new hash, when only the extracted stylesheet should be affected.

Probably a bug in the augmentChunkHash usage. https://rollupjs.org/guide/en/#augmentchunkhash

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 3.14.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: