mirror of
https://github.com/LukeHagar/sveltekit-adapters.git
synced 2025-12-06 20:57:49 +00:00
Update setupHandler.js
This commit is contained in:
@@ -52,7 +52,7 @@ export function getPreloadPath() {
|
||||
let preloadPath = path.resolve(path.join(__dirname, 'PRELOAD'))
|
||||
|
||||
if (isDev) {
|
||||
preloadPath = path.resolve(path.join(__dirname, '..', 'preload', 'index.js'))
|
||||
preloadPath = path.resolve(path.join(__dirname, '..', 'preload', 'index.cjs'))
|
||||
}
|
||||
|
||||
return preloadPath;
|
||||
|
||||
Reference in New Issue
Block a user