Skip to content

Commit 1d18656

Browse files
Review
1 parent dfce7b4 commit 1d18656

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Gulpfile.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async function generateRuntimeHelpers() {
176176
);
177177
}
178178

179-
const kebabToCamel = str => str.replace(/-[a-z]/g, c => c[1].toUpperCase());
179+
const kebabToCamel = str => str.replaceAll(/-[a-z]/g, c => c[1].toUpperCase());
180180

181181
function generateStandalone() {
182182
const dest = "./packages/babel-standalone/src/generated/";

scripts/rollup-plugin-standalone-internals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const generatedPluginsPath = inStandalone("./src/generated/plugins.ts");
1313
const makeNoopPluginPath = inStandalone("./src/make-noop-plugin.ts");
1414
const pluginUtilsShimPath = inStandalone("./src/plugin-utils-shim.ts");
1515

16-
const toCamel = str => str.replace(/-[a-z]/g, c => c[1].toUpperCase());
16+
const toCamel = str => str.replaceAll(/-[a-z]/g, c => c[1].toUpperCase());
1717

1818
const internalPlugins = new Map([
1919
...noopPlugins.map(plugin => [

0 commit comments

Comments
 (0)