-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
retire vite.config.js in favour of config.kit.vite - fixes #509
- Loading branch information
1 parent
495e61f
commit 7968431
Showing
21 changed files
with
104 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
module.exports = { | ||
kit: { | ||
adapter: '@sveltejs/adapter-netlify', | ||
|
||
// hydrate the <div id="svelte"> element in src/app.html | ||
target: '#svelte' | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
const pkg = require('./package.json'); | ||
|
||
module.exports = { | ||
kit: { | ||
// By default, `npm run build` will create a standard Node app. | ||
// You can create optimized builds for different platforms by | ||
// specifying a different adapter | ||
adapter: '@sveltejs/adapter-node', | ||
|
||
// hydrate the <div id="svelte"> element in src/app.html | ||
target: '#svelte' | ||
target: '#svelte', | ||
vite: { | ||
build: { | ||
minify: false | ||
}, | ||
ssr: { | ||
noExternal: Object.keys(pkg.dependencies || {}) | ||
} | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
module.exports = { | ||
kit: { | ||
// By default, `npm run build` will create a standard Node app. | ||
// You can create optimized builds for different platforms by | ||
// specifying a different adapter | ||
adapter: '@sveltejs/adapter-node', | ||
|
||
// hydrate the <div id="svelte"> element in src/app.html | ||
target: '#svelte' | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
module.exports = { | ||
kit: { | ||
// TODO adapterless builds | ||
adapter: '@sveltejs/adapter-node', | ||
|
||
hostHeader: 'x-forwarded-host' | ||
hostHeader: 'x-forwarded-host', | ||
vite: { | ||
build: { | ||
minify: false | ||
}, | ||
clearScreen: false | ||
} | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.