From 99641928c8a97eafcda231d97c8a6ded2ed96b17 Mon Sep 17 00:00:00 2001 From: NicolasMerget Date: Tue, 27 Feb 2024 10:24:49 +0100 Subject: [PATCH] fix: issue with missing uuid function for react --- packages/components/scripts/post-build/react.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/scripts/post-build/react.js b/packages/components/scripts/post-build/react.js index fdcbea8f661..000aea42d24 100644 --- a/packages/components/scripts/post-build/react.js +++ b/packages/components/scripts/post-build/react.js @@ -75,6 +75,10 @@ module.exports = (tmp) => { from: '={true}', to: '' }, + { + from: '{ cls }', + to: '{ cls, uuid }' + }, { from: '} from "../../utils"', to: ', filterPassingProps } from "../../utils"' @@ -99,10 +103,6 @@ module.exports = (tmp) => { { from: /<\/>/g, to: '' - }, - { - from: '{ cls }', - to: '{ cls, uuid }' } ];