Add a basic snowpack configuration

This commit is contained in:
Danila Fedorin 2021-08-06 12:17:03 -07:00
parent 973b33c032
commit 177dfd339a

29
snowpack.config.js Normal file
View file

@ -0,0 +1,29 @@
// Snowpack Configuration File
// See all supported options: https://www.snowpack.dev/reference/configuration
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
"src": "/src",
"public": "/",
"lib": {url: "/lib", static: true },
/* ... */
},
exclude: [
/* Avoid scanning scripts which use dev-dependencies and pull in babel, rollup, etc. */
'**/node_modules/**/*', '**/scripts/**', '**/target/**', '**/prototypes/**', '**/src/matrix/storage/memory/**'
],
plugins: [
/* ... */
],
packageOptions: {
/* ... */
},
devOptions: {
open: "none",
/* ... */
},
buildOptions: {
/* ... */
},
};