diff --git a/webpack.config.js b/webpack.config.js index 5f5229746..e9e19eebf 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -43,15 +43,7 @@ module.exports = { options: { importLoaders: 2, modules: { - getLocalIdent: (context, localIdentName, localName, options) => { - if (context.resourcePath.startsWith(path.resolve(__dirname, 'src/routes'))) { - localIdentName = '[local]'; - } else { - localIdentName = '[local]-[hash:base64:5]'; - } - - return getLocalIdent(context, localIdentName, localName, options); - } + localIdentName: '[local]-[hash:base64:5]' } } },