From 52bf03c73cc7f64db2dcc86d4452f0cc014d5ad7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 8 Nov 2022 01:49:09 +0300 Subject: Process CSS assets with `postcss-url` plugin --- vnext/postcss.config.js | 1 + 1 file changed, 1 insertion(+) (limited to 'vnext/postcss.config.js') 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; -- cgit v1.2.3