Skip to content

Commit ff63d23

Browse files
committed
chore: fix nitro types
1 parent f8d87ad commit ff63d23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compatibility.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
} from 'nypm'
55
import { env, provider } from 'std-env'
66
import { defu } from 'defu'
7-
import type { NitroConfig } from 'nitropack/types'
7+
import type { NitroConfig } from 'nitropack'
88
import { addTemplate, useNuxt } from '@nuxt/kit'
99
import type { CompatibilityFlags, RuntimeCompatibilitySchema } from './runtime/types'
1010

@@ -25,7 +25,7 @@ const autodetectableStaticProviders = {
2525

2626
export const NodeRuntime: RuntimeCompatibilitySchema = {
2727
// node-server runtime
28-
'chromium': 'node',
28+
'chromium': 'on-demand', // this gets changed build start
2929
'css-inline': 'node',
3030
'resvg': 'node',
3131
'satori': 'node',

0 commit comments

Comments
 (0)