From f0deb497c34411f445f4520c730ae2f8a3e3ce45 Mon Sep 17 00:00:00 2001 From: Ovechkin Date: Mon, 8 Jul 2024 14:24:04 +0300 Subject: [PATCH 1/2] feat(css): change localIdentName --- packages/css/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/css/index.js b/packages/css/index.js index bfe3013..411125a 100644 --- a/packages/css/index.js +++ b/packages/css/index.js @@ -7,7 +7,7 @@ module.exports = () => ({ modifyWebpackConfig({env: {target, dev: isDev}, webpackConfig}) { const isServer = target === 'node' - const localIdentName = isDev ? '[path][local]' : '[contenthash:base64:8]' + const localIdentName = isDev ? '[path]__[name]__[local]' : '[contenthash:base64:8]' let loaders let vendorCSSLoaders From 32b4e8cd7435b2b0ea5d175424ce72528c832615 Mon Sep 17 00:00:00 2001 From: Ovechkin Date: Mon, 8 Jul 2024 14:54:15 +0300 Subject: [PATCH 2/2] feat(css): change localIdentName --- packages/css/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/css/index.js b/packages/css/index.js index 411125a..bcc1fa1 100644 --- a/packages/css/index.js +++ b/packages/css/index.js @@ -7,7 +7,7 @@ module.exports = () => ({ modifyWebpackConfig({env: {target, dev: isDev}, webpackConfig}) { const isServer = target === 'node' - const localIdentName = isDev ? '[path]__[name]__[local]' : '[contenthash:base64:8]' + const localIdentName = isDev ? '[path][name]__[local]' : '[contenthash:base64:8]' let loaders let vendorCSSLoaders