Update npm dependencies

This commit is contained in:
2017-06-30 23:56:54 -07:00
parent cc41cc1e3b
commit b8a502def6
4 changed files with 16384 additions and 6200 deletions

View File

@@ -43,8 +43,13 @@ let webpackConfig = {
fallback: 'style',
publicPath: '../',
use: [
`css?${sourceMapQueryStr}`,
'postcss',
{ loader: 'css', options: { sourceMap: config.enabled.sourceMaps } },
{
loader: 'postcss', options: {
sourceMap: config.enabled.sourceMaps,
plugins: [autoprefixer()],
},
},
],
}),
},
@@ -55,10 +60,15 @@ let webpackConfig = {
fallback: 'style',
publicPath: '../',
use: [
`css?${sourceMapQueryStr}`,
'postcss',
`resolve-url?${sourceMapQueryStr}`,
`sass?${sourceMapQueryStr}`,
{ loader: 'css', options: { sourceMap: config.enabled.sourceMaps } },
{
loader: 'postcss', options: {
sourceMap: config.enabled.sourceMaps,
plugins: [autoprefixer()],
},
},
{ loader: 'resolve-url', options: { sourceMap: config.enabled.sourceMaps } },
{ loader: 'sass', options: { sourceMap: config.enabled.sourceMaps } },
],
}),
},
@@ -141,9 +151,6 @@ let webpackConfig = {
options: {
output: { path: config.paths.dist },
context: config.paths.assets,
postcss: [
autoprefixer(),
],
},
}),
new webpack.LoaderOptionsPlugin({
@@ -153,7 +160,7 @@ let webpackConfig = {
},
}),
new StyleLintPlugin({
failOnError: ! config.enabled.watcher,
failOnError: !config.enabled.watcher,
syntax: 'scss',
}),
],