Skip to content

Commit

Permalink
tech: revert hash classes
Browse files Browse the repository at this point in the history
  • Loading branch information
inomdzhon committed Nov 12, 2024
1 parent 75f5a11 commit 92b87de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/vkui/package.swcrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
[
"swc-plugin-css-modules",
{
"generate_scoped_name": "[folder]__[local]--[hash:base64:5]"
"generate_scoped_name": "vkui[folder]__[local]"
}
],
[
Expand Down
2 changes: 1 addition & 1 deletion packages/vkui/rspack.styles.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const config: Configuration = {
[
'swc-plugin-css-modules',
{
generate_scoped_name: '[folder]__[local]--[hash:base64:5]',
generate_scoped_name: 'vkui[folder]_[local]',
},
],
],
Expand Down
2 changes: 1 addition & 1 deletion shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ module.exports = {
'./node_modules/@vkontakte/vkui-tokens/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css',
],

generateScopedName: '[folder]__[local]--[hash:base64:5]',
generateScopedName: 'vkui[folder]__[local]',
};

0 comments on commit 92b87de

Please sign in to comment.