generator-whq
Advanced tools
Comparing version
@@ -17,3 +17,3 @@ { | ||
"babel-loader": "^7.1.2", | ||
"babel-preset-env": "^1.6.0", | ||
"babel-preset-env": "^v2.0.0-alpha.16", | ||
"browser-sync": "^2.18.13", | ||
@@ -64,5 +64,3 @@ "browser-sync-webpack-plugin": "^1.2.0", | ||
<% if (processor === 'Sass') { %>"autoprefixer": {}<% } %><% if (processor === 'PostCSS') { %> | ||
"postcss-import": { | ||
"plugins": ["stylelint"] | ||
}, | ||
"postcss-import": {}, | ||
"postcss-cssnext": { | ||
@@ -69,0 +67,0 @@ "features": { |
@@ -68,3 +68,7 @@ const webpack = require('webpack') | ||
enforce: 'pre', | ||
exclude: /node_modules/ | ||
exclude: /node_modules/, | ||
options: { | ||
fix: true, | ||
cache: true | ||
} | ||
}, | ||
@@ -109,5 +113,7 @@ | ||
minimize: inProduction | ||
}),<% if (processor === 'Sass') { %> | ||
}), | ||
new StyleLintPlugin(),<% } %> | ||
new StyleLintPlugin({ | ||
<% if (processor === 'Sass') { %>files: ['**/*.s?(a|c)ss']<% } else { %>files: ['**/*.css']<% } %> | ||
}), | ||
@@ -114,0 +120,0 @@ // uncomment this plugin if using vendor chunk |
{ | ||
"name": "generator-whq", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "files": [ |
225
2.74%13325
-47.69%15
-11.76%