Created
July 20, 2021 02:07
-
-
Save desoga10/d014fadf6b9140dadc11c7f2b1a219e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @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