mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-24 20:31:42 +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$/,
|
test: /\.scss$/,
|
||||||
exclude: [/elm-stuff/, /node_modules/],
|
exclude: [/elm-stuff/],
|
||||||
// see https://github.com/webpack-contrib/css-loader#url
|
// see https://github.com/webpack-contrib/css-loader#url
|
||||||
loaders: [
|
loaders: [
|
||||||
require.resolve("style-loader"),
|
require.resolve("style-loader"),
|
||||||
@ -231,7 +231,7 @@ function webpackOptions(production, routes, { debug, manifestConfig }) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
exclude: [/elm-stuff/, /node_modules/],
|
exclude: [/elm-stuff/],
|
||||||
loaders: [
|
loaders: [
|
||||||
require.resolve("style-loader"),
|
require.resolve("style-loader"),
|
||||||
require.resolve("css-loader")
|
require.resolve("css-loader")
|
||||||
|
Loading…
Reference in New Issue
Block a user