Files
radicle-explorer/snowpack.config.js
T
2021-03-04 17:42:13 +01:00

28 lines
490 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"},
],
optimize: {
"bundle": true,
},
packageOptions: {
polyfillNode: true,
},
devOptions: {
open: "none",
output: "dashboard"
},
buildOptions: {
/* ... */
},
};