diff options
author | Vitaly Takmazov | 2022-11-03 16:59:20 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:58 +0300 |
commit | e9f4a48efd06d539eaaebd75880d569d6d093d58 (patch) | |
tree | c30a0b1e514814d7445ba9cb693273faf545eeff /vnext/webpack.config.js | |
parent | 27d7faaac7adc1f254f565faf1ed2ddf57f8c91a (diff) |
Switch back to grid layout
Diffstat (limited to 'vnext/webpack.config.js')
-rw-r--r-- | vnext/webpack.config.js | 22 |
1 files changed, 14 insertions, 8 deletions
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() ], |