Change webpack config to load css files from node_modules.

This commit is contained in:
Dillon Kearns 2019-09-24 10:02:42 -07:00
parent 17c0dd2295
commit 44ab9db1db

View File

@ -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")