diff options
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() ], |