[ci] format
This commit is contained in:
parent
57f48b2701
commit
bdb9ba1c34
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ function getViteConfiguration() {
|
|||
return {
|
||||
optimizeDeps: {
|
||||
include: [ReactVersion.startsWith('18.') ? '@astrojs/react/client.js' : '@astrojs/react/client-v17.js', 'react', 'react/jsx-runtime', 'react/jsx-dev-runtime', 'react-dom'],
|
||||
exclude: [ReactVersion.startsWith('18.') ? '@astrojs/react/server.js' : '@astrojs/react/server-v17.js'],
|
||||
exclude: [ReactVersion.startsWith('18.') ? '@astrojs/react/server.js' : '@astrojs/react/server-v17.js'],
|
||||
},
|
||||
resolve: {
|
||||
dedupe: ['react', 'react-dom'],
|
||||
|
|
Loading…
Reference in a new issue