diff --git a/packages/nitro/src/rollup/config.ts b/packages/nitro/src/rollup/config.ts index 5f5e6a230b..d0c36e1ba1 100644 --- a/packages/nitro/src/rollup/config.ts +++ b/packages/nitro/src/rollup/config.ts @@ -31,7 +31,7 @@ export const getRollupConfig = (sigmaContext: SigmaContext) => { const builtinPreset: Preset = { alias: { // General - depd: require.resolve('@nuxt/un/runtime/npm/depd'), + depd: 'un/runtime/npm/depd', // Vue 2 encoding: 'un/mock/proxy', he: 'un/mock/proxy',