mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-24 04:12:09 +03:00
Change webpack config to load css files from node_modules.
This commit is contained in:
parent
17c0dd2295
commit
44ab9db1db
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user