We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55eb491 commit 3578245Copy full SHA for 3578245
1 file changed
vite.config.js
@@ -42,7 +42,6 @@ export default defineConfig({
42
rollupOptions: {
43
external: [
44
...Object.keys(packageJson.peerDependencies),
45
- 'react/jsx-runtime',
46
'__tests__/*',
47
'__mocks__/*',
48
],
@@ -52,14 +51,16 @@ export default defineConfig({
52
51
globals: {
53
react: 'React',
54
'react-dom': 'ReactDOM',
55
- 'react/jsx-runtime': 'react/jsx-runtime',
56
},
57
58
59
sourcemap: true,
60
61
}
62
),
+ define: {
+ 'process.env': {},
63
+ },
64
esbuild: {
65
exclude: [],
66
// Matches .js and .jsx in __tests__ and .jsx in src
0 commit comments