Skip to content

Commit 4af4f32

Browse files
committed
fix: remove windows workaround for now
1 parent 68837e5 commit 4af4f32

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/rollup/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { pathToFileURL } from 'url'
1+
// import { pathToFileURL } from 'url'
22
// import { createRequire } from 'module'
33
import { dirname, join, relative, resolve } from 'pathe'
44
import type { InputOptions, OutputOptions } from 'rollup'
@@ -227,7 +227,8 @@ export const getRollupConfig = (nitro: Nitro) => {
227227
'#config': resolve(runtimeDir, 'config'),
228228
'#paths': resolve(runtimeDir, 'paths'),
229229
'#nitro-renderer': resolve(runtimeDir, 'vue/vue3'),
230-
'#build': pathToFileURL(nitro.options.buildDir).href,
230+
// TODO: Fix windows issue
231+
'#build': nitro.options.buildDir,
231232
'~': nitro.options.srcDir,
232233
'@/': nitro.options.srcDir,
233234
'~~': nitro.options.rootDir,

0 commit comments

Comments
 (0)