Skip to content

Instantly share code, notes, and snippets.

@desoga10
Created July 20, 2021 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desoga10/d014fadf6b9140dadc11c7f2b1a219e4 to your computer and use it in GitHub Desktop.
Save desoga10/d014fadf6b9140dadc11c7f2b1a219e4 to your computer and use it in GitHub Desktop.
/** @type {import("snowpack").SnowpackUserConfig } */
export default {
mount: {
/* ... */
public: '/',
src: '/dist'
},
plugins: [
/* ... */
],
routes: [
/* Enable an SPA Fallback in development: */
// {"match": "routes", "src": ".*", "dest": "/index.html"},
],
optimize: {
/* Example: Bundle your final build: */
// "bundle": true,
},
packageOptions: {
/* ... */
},
devOptions: {
/* ... */
},
buildOptions: {
/* ... */
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment