Open charleshimmer opened 3 years ago
While using CSS Modules I think I found a bug. I was migrating from rollup-plugin-postcss where we exported globals AND controlled the scoped naming. I am finding while using this config does not allow you to export globals:
rollup-plugin-postcss
styles({ autoModules: true, extract: false, modules: { exportGlobals: true, generateScopedName: `[name]__[local]___[hash:base64:5]___${getGitCommitHash()}` }, minimize: true, use: ['sass'] }),
If I remove the generateScopedName globals are exported again. Is there a way to control how scoped names are formatted AND export globals?
generateScopedName
I have the same issue
While using CSS Modules I think I found a bug. I was migrating from
rollup-plugin-postcss
where we exported globals AND controlled the scoped naming. I am finding while using this config does not allow you to export globals:If I remove the
generateScopedName
globals are exported again. Is there a way to control how scoped names are formatted AND export globals?