From 827a479ae19c04655d758be5cdf444147a61414b Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 24 Aug 2020 22:08:52 +0800 Subject: css also use postcss. --- Timeline/ClientApp/webpack.common.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Timeline/ClientApp') diff --git a/Timeline/ClientApp/webpack.common.js b/Timeline/ClientApp/webpack.common.js index a5dce879..2a619660 100644 --- a/Timeline/ClientApp/webpack.common.js +++ b/Timeline/ClientApp/webpack.common.js @@ -38,6 +38,12 @@ config.module .end() .use('css') .loader('css-loader') + .end() + .use('postcss') + .loader('postcss-loader') + .options({ + plugins: () => [postcssPresetEnv(/* pluginOptions */)], + }) .end(); config.module -- cgit v1.2.3