mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Start work on improved widget interface for admin room * Add changes needed for InviteView * More widget bits * Lots more work to support setup widgets * Redesign work * Fix build order for web * Remove unused invite code * Update configs * Cleanup * Support widget branding * Tidy up web app * Support generic service config lookup * Stronger typings for configuration * Improve error text * fix patch * changelog * First pass on documentation * Fix tests * fixes * Don't require room state / admin rooms for room config requests * Fix no render when secrets isn't provided * rework if logic * Fixes after feedback * more review fixes * Cleanup unused code * fix indent * Update matrix-appservice-bridge to 4.0.1 * Update widget API
25 lines
599 B
JavaScript
25 lines
599 B
JavaScript
/** @type {import("snowpack").SnowpackUserConfig } */
|
|
module.exports = {
|
|
mount: {
|
|
"web/": '/'
|
|
},
|
|
plugins: [
|
|
'@prefresh/snowpack',
|
|
'@snowpack/plugin-sass',
|
|
['@snowpack/plugin-typescript', '--project tsconfig.web.json'],
|
|
],
|
|
packageOptions: {
|
|
installTypes: true,
|
|
polyfillNode: true,
|
|
},
|
|
buildOptions: {
|
|
out: 'public',
|
|
},
|
|
alias: {
|
|
"react": "preact/compat",
|
|
"react-dom/test-utils": "preact/test-utils",
|
|
"react-dom": "preact/compat",
|
|
"react/jsx-runtime": "preact/jsx-runtime",
|
|
}
|
|
};
|
|
|