🔨 config compatibility for new Snowpack V3 bundler
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Philipp Dormann 2021-01-14 18:17:12 +01:00
parent 6fc3c16073
commit 32ffa345cd

View File

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