aboutsummaryrefslogtreecommitdiff
path: root/vnext/postcss.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-08 01:49:09 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commit52bf03c73cc7f64db2dcc86d4452f0cc014d5ad7 (patch)
tree34d3b284e73339f86f54c986f25f20d2f31e9b45 /vnext/postcss.config.js
parent46fd33806e56a49ce6d6e8859ef0e9232403c0c9 (diff)
Process CSS assets with `postcss-url` plugin
Diffstat (limited to 'vnext/postcss.config.js')
-rw-r--r--vnext/postcss.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnext/postcss.config.js b/vnext/postcss.config.js
index 3e7b2675..d5ff5a25 100644
--- a/vnext/postcss.config.js
+++ b/vnext/postcss.config.js
@@ -8,6 +8,7 @@ module.exports = (ctx) => {
'postcss-import': {},
'postcss-preset-env': { stage: 0 },
'cssnano': production ? { preset: 'default' } : false,
+ 'postcss-url' : { url: 'copy', assetsPath: '', useHash: true }
},
};
return config;