522f8d085a
as they are not used in the development build
38 lines
880 B
JavaScript
38 lines
880 B
JavaScript
// 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 },
|
|
"src/platform/web/ui/css/themes": "/themes",
|
|
"assets": "/assets",
|
|
/* ... */
|
|
},
|
|
exclude: [
|
|
/* Avoid scanning scripts which use dev-dependencies and pull in babel, rollup, etc. */
|
|
'**/node_modules/**/*',
|
|
'**/scripts/**',
|
|
'**/target/**',
|
|
'**/prototypes/**',
|
|
'**/src/matrix/storage/memory/**',
|
|
'**/src/platform/web/legacy-polyfill.js',
|
|
'**/src/platform/web/worker/polyfill.js'
|
|
],
|
|
plugins: [
|
|
/* ... */
|
|
],
|
|
packageOptions: {
|
|
/* ... */
|
|
},
|
|
devOptions: {
|
|
open: "none",
|
|
hmr: false,
|
|
/* ... */
|
|
},
|
|
buildOptions: {
|
|
/* ... */
|
|
},
|
|
};
|