Files
radicle-explorer/snowpack.config.js
T
2021-04-27 15:22:22 +02:00

32 lines
563 B
JavaScript

/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
public: '/',
src: '/dist',
},
alias: {
'@app': './src',
},
plugins: [
'@snowpack/plugin-svelte',
'@snowpack/plugin-typescript',
],
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: {
/* ... */
},
};