aboutsummaryrefslogtreecommitdiff
path: root/vnext/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-22 18:46:12 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit9cc09e79c6a424b008a6f188eb64236a9ca5d865 (patch)
tree7ca6737c02c2998e523767e7041392a7869b270e /vnext/webpack.config.js
parentd64e29f2315b6e42eb4c5149348fd89ac61e6805 (diff)
CSS Grid WIP
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r--vnext/webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js
index 35a698e0..3a9b2678 100644
--- a/vnext/webpack.config.js
+++ b/vnext/webpack.config.js
@@ -5,6 +5,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const TerserPlugin = require('terser-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const ErrorOverlayPlugin = require('error-overlay-webpack-plugin');
+const postcssPresetEnv = require('postcss-preset-env');
module.exports = (env, argv) => {
const dev = argv.mode !== 'production';
@@ -43,7 +44,7 @@ module.exports = (env, argv) => {
{
loader: 'postcss-loader', options: {
plugins: () => [
- require('autoprefixer')({})
+ postcssPresetEnv({ stage: 0, autoprefixer: { grid: true } })
]
}
}