This commit is contained in:
Edward Betts 2023-05-13 15:25:52 +02:00
parent c232db73eb
commit 9f8ccf95f1

View file

@ -1,20 +1,10 @@
import pkg from './package.json';
/** @type {import("snowpack").SnowpackUserConfig } */ /** @type {import("snowpack").SnowpackUserConfig } */
export default { export default {
mount: { mount: {
// public: {url: '/', static: true}, public: {url: '/', static: true},
frontend: {url: '/dist'}, frontend: {url: '/dist'},
}, },
plugins: [ plugins: ['@snowpack/plugin-vue', '@snowpack/plugin-dotenv'],
'@snowpack/plugin-vue',
'@snowpack/plugin-dotenv',
['snowpack-plugin-cdn-import', {
dependencies: pkg.dependencies,
enableInDevMode: true,
// baseUrl: 'https://unpkg.com',
}]
],
routes: [ routes: [
/* Enable an SPA Fallback in development: */ /* Enable an SPA Fallback in development: */
// {"match": "routes", "src": ".*", "dest": "/index.html"}, // {"match": "routes", "src": ".*", "dest": "/index.html"},