Use root build config

This commit is contained in:
Dmitry Lyzo committed 2020-05-06 17:02:56 +03:00
1 parent 62a7cf4289
commit f21f01bb05
4 files changed
+34 -8

No files matched your search

+2 -1
View File
@@ -1,10 +1,11 @@
const packageConfig = require('./package.json');
const postcssPresetEnv = require('postcss-preset-env');
const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const config = () => ({
plugins: [
postcssPresetEnv(),
postcssPresetEnv({browsers: packageConfig.browserslist}),
autoprefixer(),
cssnano()
]