27 lines
465 B
JavaScript
27 lines
465 B
JavaScript
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
module.exports = {
|
|
mount: {
|
|
public: '/',
|
|
src: '/_dist_'
|
|
},
|
|
plugins: [ '@snowpack/plugin-svelte' ],
|
|
routes: [
|
|
/* Enable an SPA Fallback in development: */
|
|
{ match: 'routes', src: '.*', dest: '/index.html' }
|
|
],
|
|
packageOptions: {
|
|
/* ... */
|
|
sourceMap: false
|
|
},
|
|
devOptions: {
|
|
/* ... */
|
|
},
|
|
buildOptions: {
|
|
/* ... */
|
|
},
|
|
alias: {
|
|
/* ... */
|
|
},
|
|
optimize: { bundle: true, minify: true }
|
|
};
|