Update
This commit is contained in:
parent
c232db73eb
commit
9f8ccf95f1
|
@ -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"},
|
||||||
|
|
Loading…
Reference in a new issue