File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
181181function generateStandalone ( ) {
182182 const dest = "./packages/babel-standalone/src/generated/" ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ const generatedPluginsPath = inStandalone("./src/generated/plugins.ts");
1313const makeNoopPluginPath = inStandalone ( "./src/make-noop-plugin.ts" ) ;
1414const 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
1818const internalPlugins = new Map ( [
1919 ...noopPlugins . map ( plugin => [
You can’t perform that action at this time.
0 commit comments