diff --git a/packages/css/index.js b/packages/css/index.js index bfe3013..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][local]' : '[contenthash:base64:8]' + const localIdentName = isDev ? '[path][name]__[local]' : '[contenthash:base64:8]' let loaders let vendorCSSLoaders