From 9b043b134f141c7752f7320151c3ce5550a41772 Mon Sep 17 00:00:00 2001 From: mama Date: Fri, 19 Jan 2018 12:29:43 +0100 Subject: [PATCH] :sparkles: Nettoyage des options postcss --- package.json | 1 + postcss.config.js | 9 ++------- source/webpack.config.js | 5 +---- 3 files changed, 4 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index ae936d10a..a161abf4e 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "engines": { "node": ">=6.2.0 <10.0.0" }, + "browserslist": ["> 1% in FR", "not ie < 11"], "dependencies": { "@babel/polyfill": "^7.0.0-beta.34", "classnames": "^2.2.5", diff --git a/postcss.config.js b/postcss.config.js index 2aa12db80..44d7b9e17 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -1,9 +1,4 @@ module.exports = { - plugins: [ - require('autoprefixer') - ] + plugins: [require('autoprefixer')], + sourceMap: 'inline' } - -/* -browsers: [ '> 1% in FR', 'not ie < 10' ] -*/ diff --git a/source/webpack.config.js b/source/webpack.config.js index 7fd09de4a..c7df0ec94 100644 --- a/source/webpack.config.js +++ b/source/webpack.config.js @@ -47,10 +47,7 @@ module.exports = { } }, { - loader: 'postcss-loader', - options: { - sourceMap: 'inline' - } + loader: 'postcss-loader' } ] },