Skip to content
Snippets Groups Projects
Commit 7761037a authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Precompress static resources in node-adapter.

parent c7ff575f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@ const config = {
// 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: node(),
adapter: node({
precompress: true,
}),
// hydrate the <div id="svelte"> element in src/app.html
target: "#svelte",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment