forked from mystiq/hydrogen-web
9f7297f62b
Still buggy as hell because we're using a live indexeddb in the test jig but at least there are no errors anymore. Comment out E2EE support.
36 lines
842 B
JavaScript
36 lines
842 B
JavaScript
// Snowpack Configuration File
|
|
// See all supported options: https://www.snowpack.dev/reference/configuration
|
|
|
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
module.exports = {
|
|
mount: {
|
|
// More specific paths before less specific paths (if they overlap)
|
|
"src": "/",
|
|
"lib": {url: "/lib", static: true },
|
|
"assets": "/assets",
|
|
/* ... */
|
|
},
|
|
exclude: [
|
|
/* Avoid scanning scripts which use dev-dependencies and pull in babel, rollup, etc. */
|
|
'**/node_modules/**/*',
|
|
'**/scripts/**',
|
|
'**/target/**',
|
|
'**/prototypes/**',
|
|
'**/src/platform/web/legacy-polyfill.js',
|
|
'**/src/platform/web/worker/polyfill.js'
|
|
],
|
|
plugins: [
|
|
/* ... */
|
|
],
|
|
packageOptions: {
|
|
/* ... */
|
|
},
|
|
devOptions: {
|
|
open: "none",
|
|
hmr: false,
|
|
/* ... */
|
|
},
|
|
buildOptions: {
|
|
/* ... */
|
|
},
|
|
};
|