fix up IWA support, other QoL upgrades, start on MCP integration

This commit is contained in:
2026-10-21 21:14:59 -04:00
parent df0d3dd1f7
commit 5179b76558
81 changed files with 547 additions and 461 deletions

View File

@@ -7,13 +7,16 @@ const singleFile = process.env.SINGLEFILE === '1';
const iwaBuild = process.env.IWA === '1';
export default defineConfig({
define: {
__IWA__: JSON.stringify(iwaBuild),
},
define: {
__IWA__: JSON.stringify(iwaBuild),
},
plugins: [react(), ...(singleFile ? [viteSingleFile()] : [])],
server: {
host: true,
port: 3000
port: 3000,
},
build: {
target: 'esnext',
@@ -38,6 +41,4 @@ export default defineConfig({
'file-saver'
]
},
// Add CSP and other headers required for IWA after build
base: './',
});