We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 149ca56 commit 458bc3bCopy full SHA for 458bc3b
2 files changed
packages/repack/react-dom/build.js
@@ -23,7 +23,7 @@ import * as esbuild from 'esbuild';
23
/** @type { import('esbuild').Plugin[] } */
24
plugins: [
25
{
26
- name: 'react-resolver',
+ name: 'require-react',
27
setup(build) {
28
build.onResolve({ filter: /^react$/ }, args =>
29
args.kind === 'require-call' ? { path: 'react', namespace: 'stub' } : { external: true, path: args.path }
packages/repack/react-dom@18/build.js
@@ -21,7 +21,7 @@ import * as esbuild from 'esbuild';
21
22
0 commit comments