frontend/snowpack.config.js
Philipp Dormann 32ffa345cd
Some checks failed
continuous-integration/drone/push Build is failing
🔨 config compatibility for new Snowpack V3 bundler
2021-01-14 18:17:12 +01:00

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 }
};