2021-06-14 23:08:07 +01:00
|
|
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
|
|
export default {
|
|
|
|
mount: {
|
2023-05-13 14:25:52 +01:00
|
|
|
public: {url: '/', static: true},
|
2021-06-14 23:08:07 +01:00
|
|
|
frontend: {url: '/dist'},
|
|
|
|
},
|
2023-05-13 14:25:52 +01:00
|
|
|
plugins: ['@snowpack/plugin-vue', '@snowpack/plugin-dotenv'],
|
2021-06-14 23:08:07 +01:00
|
|
|
routes: [
|
|
|
|
/* Enable an SPA Fallback in development: */
|
|
|
|
// {"match": "routes", "src": ".*", "dest": "/index.html"},
|
|
|
|
],
|
|
|
|
optimize: {
|
|
|
|
/* Example: Bundle your final build: */
|
|
|
|
// "bundle": true,
|
|
|
|
},
|
|
|
|
packageOptions: {
|
|
|
|
/* ... */
|
|
|
|
},
|
|
|
|
devOptions: {
|
|
|
|
/* ... */
|
|
|
|
},
|
|
|
|
buildOptions: {
|
|
|
|
/* ... */
|
|
|
|
},
|
|
|
|
};
|