From 44ab9db1dba6d6c5fd4dda517d74e284b6706af2 Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Tue, 24 Sep 2019 10:02:42 -0700 Subject: [PATCH] Change webpack config to load css files from node_modules. --- generator/src/develop.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generator/src/develop.js b/generator/src/develop.js index 6bc3b424..72adfb11 100644 --- a/generator/src/develop.js +++ b/generator/src/develop.js @@ -221,7 +221,7 @@ function webpackOptions(production, routes, { debug, manifestConfig }) { }, { test: /\.scss$/, - exclude: [/elm-stuff/, /node_modules/], + exclude: [/elm-stuff/], // see https://github.com/webpack-contrib/css-loader#url loaders: [ require.resolve("style-loader"), @@ -231,7 +231,7 @@ function webpackOptions(production, routes, { debug, manifestConfig }) { }, { test: /\.css$/, - exclude: [/elm-stuff/, /node_modules/], + exclude: [/elm-stuff/], loaders: [ require.resolve("style-loader"), require.resolve("css-loader")