diff options
author | ana <ana@ana.st> | 2021-08-08 19:30:36 +0200 |
---|---|---|
committer | ana <ana@ana.st> | 2021-08-08 19:30:36 +0200 |
commit | f8d88af22684b173362b061e1cec3ed6dd5f1d3a (patch) | |
tree | 303134b230fc661c987c19354d41dad6b452b939 /snowpack.config.mjs | |
parent | 47fdd3d073a427f28d13e4fb2ea280a39f1e21e5 (diff) | |
download | eureka-marks-f8d88af22684b173362b061e1cec3ed6dd5f1d3a.tar.gz |
feat: prepare for build
Diffstat (limited to 'snowpack.config.mjs')
-rw-r--r-- | snowpack.config.mjs | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/snowpack.config.mjs b/snowpack.config.mjs index d09dc13..915fd6f 100644 --- a/snowpack.config.mjs +++ b/snowpack.config.mjs @@ -5,21 +5,11 @@ export default { src: "/dist", }, plugins: ["@snowpack/plugin-svelte"], - routes: [ - /* Enable an SPA Fallback in development: */ - // {"match": "routes", "src": ".*", "dest": "/index.html"}, - ], optimize: { - /* Example: Bundle your final build: */ - // "bundle": true, - }, - packageOptions: { - /* ... */ - }, - devOptions: { - /* ... */ - }, - buildOptions: { - /* ... */ + bundle: true, + minify: true, + treeshake: true, + sourcemap: false, + target: "es2018", }, }; |