Skip to content

Commit

Permalink
feat: add readable class names for css-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Glushchenko committed Jun 18, 2024
1 parent 18f847d commit dcc0281
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common/webpack/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,11 @@ function getCssLoaders({isEnvDevelopment, isEnvProduction, config}: HelperOption
esModule: false,
sourceMap: !config.disableSourceMapGeneration,
importLoaders: 2,
modules: {
auto: true,
localIdentName: '[name]__[local]--[hash:base64:5]',
exportLocalsConvention: 'camelCase',
},
},
});

Expand Down

0 comments on commit dcc0281

Please sign in to comment.