🐛 Problème de compilation

pull/386/head
Mael 2018-11-08 13:22:02 +00:00
parent 644f72fbab
commit 83843f4081
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ const prerenderConfig = () => ({
// Replace style-loader with MiniCssExtractPlugin.loader
common.module.rules
.find(rule => rule.test.test('a.css'))
.use.find(loader => loader.loader === 'style-loader').loader =
.use.find(loader => (loader || loader.loader) === 'style-loader').loader =
MiniCssExtractPlugin.loader
module.exports = {
...common,