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 } */
export default {
mount: {
// public: {url: '/', static: true},
public: {url: '/', static: true},
frontend: {url: '/dist'},
},
plugins: [
'@snowpack/plugin-vue',
'@snowpack/plugin-dotenv',
['snowpack-plugin-cdn-import', {
dependencies: pkg.dependencies,
enableInDevMode: true,
// baseUrl: 'https://unpkg.com',
}]
],
plugins: ['@snowpack/plugin-vue', '@snowpack/plugin-dotenv'],
routes: [
/* Enable an SPA Fallback in development: */
// {"match": "routes", "src": ".*", "dest": "/index.html"},