Skip to content

Commit 69209f2

Browse files
committed
wip
1 parent dcbe115 commit 69209f2

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

packages/plugin-rsc/src/plugin.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -306,14 +306,14 @@ export default function vitePluginRsc(
306306
noExternal,
307307
},
308308
optimizeDeps: {
309-
// include: [
310-
// 'react',
311-
// 'react-dom',
312-
// 'react/jsx-runtime',
313-
// 'react/jsx-dev-runtime',
314-
// 'react-dom/server.edge',
315-
// `${REACT_SERVER_DOM_NAME}/client.edge`,
316-
// ],
309+
include: [
310+
'react',
311+
// 'react-dom',
312+
// 'react/jsx-runtime',
313+
// 'react/jsx-dev-runtime',
314+
// 'react-dom/server.edge',
315+
// `${REACT_SERVER_DOM_NAME}/client.edge`,
316+
],
317317
exclude: [PKG_NAME],
318318
},
319319
},
@@ -332,14 +332,14 @@ export default function vitePluginRsc(
332332
noExternal,
333333
},
334334
optimizeDeps: {
335-
// include: [
336-
// 'react',
337-
// 'react-dom',
338-
// 'react/jsx-runtime',
339-
// 'react/jsx-dev-runtime',
340-
// `${REACT_SERVER_DOM_NAME}/server.edge`,
341-
// `${REACT_SERVER_DOM_NAME}/client.edge`,
342-
// ],
335+
include: [
336+
'react',
337+
// 'react-dom',
338+
// 'react/jsx-runtime',
339+
// 'react/jsx-dev-runtime',
340+
// `${REACT_SERVER_DOM_NAME}/server.edge`,
341+
// `${REACT_SERVER_DOM_NAME}/client.edge`,
342+
],
343343
exclude: [PKG_NAME],
344344
},
345345
},

0 commit comments

Comments
 (0)