mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-05-02 02:09:58 -07:00
Inline all assets into index.html, compress it, saves 300kB
This commit is contained in:
committed by
Will Greenberg
parent
5e328b889b
commit
300215206c
@@ -11,6 +11,12 @@ export default {
|
||||
precompress: false,
|
||||
strict: true,
|
||||
}),
|
||||
output: {
|
||||
// Force everything into one HTML file. SvelteKit will still generate
|
||||
// a lot of JS files but they are deadweight and will not be included
|
||||
// in the rust binary.
|
||||
bundleStrategy: 'inline',
|
||||
},
|
||||
version: {
|
||||
// Use a deterministic version string for reproducible builds.
|
||||
// Without this option, SvelteKit will use a timestamp.
|
||||
|
||||
Reference in New Issue
Block a user