2021-11-19 04:28:01 +00:00
|
|
|
// Snowpack Configuration File
|
|
|
|
// See all supported options: https://www.snowpack.dev/reference/configuration
|
|
|
|
|
|
|
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
|
|
module.exports = {
|
|
|
|
mount: {
|
2021-12-26 18:33:01 +00:00
|
|
|
public: { url: '/', static: true },
|
|
|
|
src: { url: '/dist' },
|
2021-11-19 04:28:01 +00:00
|
|
|
},
|
2021-12-29 02:13:49 +00:00
|
|
|
routes: [
|
|
|
|
{ match: 'routes', src: '/.*', dest: '/' },
|
|
|
|
],
|
2021-11-19 04:28:01 +00:00
|
|
|
plugins: [
|
2021-12-29 05:28:02 +00:00
|
|
|
'@snowpack/plugin-typescript',
|
2021-11-19 04:28:01 +00:00
|
|
|
],
|
|
|
|
packageOptions: {
|
2021-12-29 05:28:02 +00:00
|
|
|
types: true,
|
2021-11-19 04:28:01 +00:00
|
|
|
},
|
|
|
|
devOptions: {
|
|
|
|
/* ... */
|
|
|
|
},
|
|
|
|
buildOptions: {
|
2021-12-29 05:28:02 +00:00
|
|
|
sourceMap: true,
|
2021-11-19 04:28:01 +00:00
|
|
|
},
|
|
|
|
};
|