diff --git a/snowpack.config.js b/snowpack.config.js new file mode 100644 index 00000000..d59d0c06 --- /dev/null +++ b/snowpack.config.js @@ -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: { + /* ... */ + }, +};