fix up IWA support, other QoL upgrades, start on MCP integration
This commit is contained in:
@@ -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: './',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user