diff options
author | crupest <crupest@outlook.com> | 2020-08-24 22:08:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-24 22:08:52 +0800 |
commit | 827a479ae19c04655d758be5cdf444147a61414b (patch) | |
tree | d8445d9408d968de03bc6b93a8d10fbe88b6cefc /Timeline/ClientApp | |
parent | b9b7334ac5d5cf83b6206af024ddd4c55a6e07da (diff) | |
download | timeline-827a479ae19c04655d758be5cdf444147a61414b.tar.gz timeline-827a479ae19c04655d758be5cdf444147a61414b.tar.bz2 timeline-827a479ae19c04655d758be5cdf444147a61414b.zip |
css also use postcss.
Diffstat (limited to 'Timeline/ClientApp')
-rw-r--r-- | Timeline/ClientApp/webpack.common.js | 6 |
1 files changed, 6 insertions, 0 deletions
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
|