🔨 config compatibility for new Snowpack V3 bundler
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
6fc3c16073
commit
32ffa345cd
@ -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 }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user