vector-im-hydrogen-web/snowpack.config.js

30 lines
682 B
JavaScript
Raw Normal View History

2021-08-06 21:17:03 +02:00
// 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: {
/* ... */
},
};