From aad5baeccfcec6d63cec5a4f488811102f0db128 Mon Sep 17 00:00:00 2001 From: Wenderson Pires Date: Tue, 9 Apr 2024 03:23:57 -0300 Subject: [PATCH] fix isDevelopment parser regex --- lib/config/parseAlemFeatures.js | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/config/parseAlemFeatures.js b/lib/config/parseAlemFeatures.js index 9bfd249..a293f2d 100644 --- a/lib/config/parseAlemFeatures.js +++ b/lib/config/parseAlemFeatures.js @@ -8,7 +8,10 @@ const parseAlemFeatures = (bundleContent) => { .replaceAll("useParams(", "props.alem.useParams(") .replaceAll("createRoute(", "props.alem.createRoute(") .replaceAll("promisify(", "props.alem.promisify(") - .replaceAll("isDevelopment", "props.alem.isDevelopment"); + .replaceAll( + /(?