From 3fc9efa731945245e9b8a47bc3d7d7de6f5e390c Mon Sep 17 00:00:00 2001 From: xiaolei <1017653702@qq.com> Date: Fri, 3 Jan 2025 16:16:19 +0800 Subject: [PATCH] [fix]formatValue --- packages/webpack-plugin/lib/react/processStyles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/webpack-plugin/lib/react/processStyles.js b/packages/webpack-plugin/lib/react/processStyles.js index ca6bbeac3..063593c65 100644 --- a/packages/webpack-plugin/lib/react/processStyles.js +++ b/packages/webpack-plugin/lib/react/processStyles.js @@ -63,6 +63,7 @@ module.exports = function (styles, { };\n let __unoClassMap global.__getUnoClassMap = function () { + const formatValue = global.__formatValue if (!__unoClassMap) { __unoClassMap = __unoCssMapPlaceholder__ }