Skip to content

Commit

Permalink
Update scripts/rollup-plugin-standalone-internals.js
Browse files Browse the repository at this point in the history
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
  • Loading branch information
nicolo-ribaudo and JLHwung committed Oct 16, 2022
1 parent 00507d5 commit 0343d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rollup-plugin-standalone-internals.js
Expand Up @@ -13,7 +13,7 @@ const generatedPluginsPath = inStandalone("./src/generated/plugins.ts");
const makeNoopPluginPath = inStandalone("./src/make-noop-plugin.ts");
const pluginUtilsShimPath = inStandalone("./src/plugin-utils-shim.ts");

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

const internalPlugins = new Map([
...noopPlugins.map(plugin => [
Expand Down

0 comments on commit 0343d64

Please sign in to comment.