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 | 1a99cb1c4fd8b06c0b7dcc3ec85505c632b3bbc3 (patch) | |
tree | 95df083d9f7f747b5d2293dccf6573273b8303fa /Timeline/ClientApp/webpack.common.js | |
parent | 4eb7a984e10d15fdb8ef988e1571b114fa74e420 (diff) | |
download | timeline-1a99cb1c4fd8b06c0b7dcc3ec85505c632b3bbc3.tar.gz timeline-1a99cb1c4fd8b06c0b7dcc3ec85505c632b3bbc3.tar.bz2 timeline-1a99cb1c4fd8b06c0b7dcc3ec85505c632b3bbc3.zip |
css also use postcss.
Diffstat (limited to 'Timeline/ClientApp/webpack.common.js')
-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
|