26 lines
509 B
JavaScript
26 lines
509 B
JavaScript
// Snowpack Configuration File
|
|
// See all supported options: https://www.snowpack.dev/reference/configuration
|
|
|
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
module.exports = {
|
|
mount: {
|
|
public: { url: '/', static: true },
|
|
src: { url: '/dist' },
|
|
},
|
|
routes: [
|
|
{ match: 'routes', src: '/.*', dest: '/' },
|
|
],
|
|
plugins: [
|
|
'@snowpack/plugin-typescript',
|
|
],
|
|
packageOptions: {
|
|
types: true,
|
|
},
|
|
devOptions: {
|
|
/* ... */
|
|
},
|
|
buildOptions: {
|
|
sourceMap: true,
|
|
},
|
|
};
|