forked from edward/owl-map
36 lines
753 B
JavaScript
36 lines
753 B
JavaScript
import pkg from './package.json';
|
|
|
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
export default {
|
|
mount: {
|
|
// 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',
|
|
}]
|
|
],
|
|
routes: [
|
|
/* Enable an SPA Fallback in development: */
|
|
// {"match": "routes", "src": ".*", "dest": "/index.html"},
|
|
],
|
|
optimize: {
|
|
/* Example: Bundle your final build: */
|
|
// "bundle": true,
|
|
},
|
|
packageOptions: {
|
|
/* ... */
|
|
},
|
|
devOptions: {
|
|
/* ... */
|
|
},
|
|
buildOptions: {
|
|
/* ... */
|
|
},
|
|
};
|