Change and move browserlist settings to package.json

This commit is contained in:
panr 2018-07-24 01:05:31 +02:00
parent ee72421ecb
commit 481f92a54f
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,12 @@
"start": "hugo server --buildDrafts", "start": "hugo server --buildDrafts",
"dev": "node node_modules/.bin/webpack" "dev": "node node_modules/.bin/webpack"
}, },
"browserslist": [
"last 2 versions",
">1%",
"maintained node versions",
"not dead"
],
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.0.0-beta.54", "@babel/cli": "^7.0.0-beta.54",
"@babel/core": "^7.0.0-beta.54", "@babel/core": "^7.0.0-beta.54",

View File

@ -12,7 +12,6 @@ module.exports = () => ({
nested, nested,
postCSSPresetEnv({ postCSSPresetEnv({
stage: 1, stage: 1,
browsers: "last 2 versions",
}), }),
cssnano({ cssnano({
preset: "default", preset: "default",