Add other extensions

This commit is contained in:
Sebastien Chopin 2017-05-05 16:48:12 +02:00
parent 7f1bf3d5f0
commit 333e3cf13a
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ export default function () {
// If it's inside node_modules // If it's inside node_modules
/node_modules/.test(module.context) && /node_modules/.test(module.context) &&
// Do not externalize if the request is a CSS file // Do not externalize if the request is a CSS file
!/\.css$/.test(module.request) !/\.(css|less|scss|sass|styl|stylus)$/.test(module.request)
) )
} }
}), }),