hydrogen-web/snowpack.config.js

32 lines
756 B
JavaScript
Raw Normal View History

2021-08-07 00:47:03 +05:30
// 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 },
2021-08-07 01:49:24 +05:30
"src/platform/web/ui/css/themes": "/themes",
"assets": "/assets",
2021-08-07 00:47:03 +05:30
/* ... */
},
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: {
/* ... */
},
};