mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-26 10:57:32 +00:00
14 lines
390 B
TypeScript
14 lines
390 B
TypeScript
import { extendPreset } from '../utils'
|
|
import { NitroPreset } from '../context'
|
|
import { node } from './node'
|
|
|
|
export const dev: NitroPreset = extendPreset(node, {
|
|
entry: '{{ _internal.runtimeDir }}/entries/dev',
|
|
output: {
|
|
serverDir: '{{ _nuxt.buildDir }}/nitro'
|
|
},
|
|
externals: { trace: false },
|
|
inlineDynamicImports: true, // externals plugin limitation
|
|
sourceMap: true
|
|
})
|