[ci] format
This commit is contained in:
parent
5c0c6e1ac6
commit
8cf692766b
1 changed files with 8 additions and 8 deletions
|
@ -22,14 +22,14 @@ export default function createIntegration(userOptions: UserOptions): AstroIntegr
|
||||||
name: '@astrojs/node',
|
name: '@astrojs/node',
|
||||||
hooks: {
|
hooks: {
|
||||||
'astro:config:setup': ({ updateConfig }) => {
|
'astro:config:setup': ({ updateConfig }) => {
|
||||||
updateConfig({
|
updateConfig({
|
||||||
vite: {
|
vite: {
|
||||||
ssr: {
|
ssr: {
|
||||||
noExternal: ['@astrojs/node']
|
noExternal: ['@astrojs/node'],
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
'astro:config:done': ({ setAdapter, config }) => {
|
'astro:config:done': ({ setAdapter, config }) => {
|
||||||
needsBuildConfig = !config.build?.server;
|
needsBuildConfig = !config.build?.server;
|
||||||
_options = {
|
_options = {
|
||||||
|
|
Loading…
Reference in a new issue