Skip to content

Commit 458bc3b

Browse files
committed
Rename plugin
1 parent 149ca56 commit 458bc3b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/repack/react-dom/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import * as esbuild from 'esbuild';
2323
/** @type { import('esbuild').Plugin[] } */
2424
plugins: [
2525
{
26-
name: 'react-resolver',
26+
name: 'require-react',
2727
setup(build) {
2828
build.onResolve({ filter: /^react$/ }, args =>
2929
args.kind === 'require-call' ? { path: 'react', namespace: 'stub' } : { external: true, path: args.path }

packages/repack/react-dom@18/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import * as esbuild from 'esbuild';
2121
/** @type { import('esbuild').Plugin[] } */
2222
plugins: [
2323
{
24-
name: 'react-resolver',
24+
name: 'require-react',
2525
setup(build) {
2626
build.onResolve({ filter: /^react$/ }, args =>
2727
args.kind === 'require-call' ? { path: 'react', namespace: 'stub' } : { external: true, path: args.path }

0 commit comments

Comments
 (0)