diff --git a/snowpack.config.js b/snowpack.config.js index 332cb925..a1be08ab 100644 --- a/snowpack.config.js +++ b/snowpack.config.js @@ -5,10 +5,11 @@ module.exports = { src: '/_dist_' }, plugins: [ '@snowpack/plugin-svelte' ], - install: [ - /* ... */ + routes: [ + /* Enable an SPA Fallback in development: */ + { match: 'routes', src: '.*', dest: '/index.html' } ], - installOptions: { + packageOptions: { /* ... */ sourceMap: false }, @@ -18,13 +19,8 @@ module.exports = { buildOptions: { /* ... */ }, - proxy: { - /* ... */ - }, alias: { /* ... */ }, - experiments: { - optimize: { bundle: true, minify: true } - } + optimize: { bundle: true, minify: true } };