mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
- Configured `vite.config.ts` for relative base path support. - Initialized `mobile_app` Flutter project with `webview_flutter`. - Added `assets/www` to Flutter assets configuration. - Implemented `mobile_app/lib/main.dart` with WebView and Bridge API integration (Water Level Slider). - Updated `.gitignore` for Flutter artifacts. - Successfully built APK artifacts. Co-authored-by: kliffdafunkfacekilla-arch <239708976+kliffdafunkfacekilla-arch@users.noreply.github.com>
21 lines
503 B
TypeScript
21 lines
503 B
TypeScript
export default {
|
|
root: './src',
|
|
base: './',
|
|
build: {
|
|
outDir: '../dist',
|
|
assetsDir: 'assets', // Cleaner
|
|
rollupOptions: {
|
|
input: {
|
|
main: './src/index.html',
|
|
engine: './src/engine/engine.html',
|
|
},
|
|
},
|
|
},
|
|
publicDir: '../public',
|
|
server: {
|
|
headers: {
|
|
'Cross-Origin-Opener-Policy': 'same-origin',
|
|
'Cross-Origin-Embedder-Policy': 'require-corp',
|
|
},
|
|
},
|
|
}
|