From e9f4a48efd06d539eaaebd75880d569d6d093d58 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 3 Nov 2022 16:59:20 +0300 Subject: Switch back to grid layout --- vnext/webpack.config.js | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'vnext/webpack.config.js') diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index cdcf179c..59e65b8d 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -24,6 +24,7 @@ module.exports = (env, argv) => { 'core-js/modules/web.dom-collections.iterator', 'url-polyfill', __dirname + '/src/index.js', + __dirname + '/src/index.css', require.resolve('evil-icons/assets/evil-icons.css') ] }, @@ -48,7 +49,12 @@ module.exports = (env, argv) => { postcssOptions: { plugins: [ 'stylelint', - ['postcss-preset-env', { stage: 0 } ] + [ + 'postcss-preset-env', { + stage: 0, + autoprefixer: { grid: true } + } + ] ] } } @@ -84,7 +90,7 @@ module.exports = (env, argv) => { new webpack.IgnorePlugin({ resourceRegExp: /^\.\/locale$/, contextRegExp: /moment$/, - }), + }), new MiniCssExtractPlugin({ filename: 'Juick.[contenthash].css' }), @@ -92,12 +98,12 @@ module.exports = (env, argv) => { template: './src/index.html', filename: './index.html' }), - new ESLintPlugin({ - files: 'src', - lintDirtyModulesOnly: true, - failOnWarning: false, - failOnError: true, - fix: false + new ESLintPlugin({ + files: 'src', + lintDirtyModulesOnly: true, + failOnWarning: false, + failOnError: true, + fix: false }), new ErrorOverlayPlugin() ], -- cgit v1.2.3