diff --git a/lib/webpack/client.config.js b/lib/webpack/client.config.js index f4054c05e0..f5f7857383 100644 --- a/lib/webpack/client.config.js +++ b/lib/webpack/client.config.js @@ -64,7 +64,7 @@ export default function () { // If it's inside node_modules /node_modules/.test(module.context) && // Do not externalize if the request is a CSS file - !/\.css$/.test(module.request) + !/\.(css|less|scss|sass|styl|stylus)$/.test(module.request) ) } }),