Compare commits
2 Commits
fef1751c55
...
b93b8f672f
| Author | SHA1 | Date |
|---|---|---|
|
|
b93b8f672f | |
|
|
8c6fc8624a |
|
|
@ -1,5 +1,7 @@
|
||||||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
|
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
|
||||||
|
|
||||||
|
android/
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
|
|
|
||||||
4
app.json
4
app.json
|
|
@ -28,7 +28,7 @@
|
||||||
"allowBackup": false
|
"allowBackup": false
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"output": "static",
|
"output": "single",
|
||||||
"favicon": "./assets/images/favicon.png"
|
"favicon": "./assets/images/favicon.png"
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
|
@ -55,4 +55,4 @@
|
||||||
"reactCompiler": true
|
"reactCompiler": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
const { getDefaultConfig } = require('expo/metro-config');
|
||||||
|
|
||||||
|
const config = getDefaultConfig(__dirname);
|
||||||
|
|
||||||
|
// Prioritize CommonJS / require / react-native conditions to avoid ESM import.meta in web builds
|
||||||
|
config.resolver.unstable_conditionNames = ['browser', 'require', 'react-native'];
|
||||||
|
|
||||||
|
if (config.resolver.unstable_conditionsByPlatform) {
|
||||||
|
config.resolver.unstable_conditionsByPlatform.web = ['browser', 'require', 'react-native'];
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = config;
|
||||||
Loading…
Reference in New Issue