Project setup for iOS version of the app

This commit is contained in:
James Babcock committed 2026-09-05 21:40:20 -07:00
1 parent 9b70880a5b
commit 61b3bf8b7c
18 files changed
+633 -10

No files matched your search

+12
View File
@@ -4,6 +4,18 @@ const { resolve } = require("path");
module.exports = (env) => {
webpack.init(env);
if (env.ios) {
// The initial iOS UI is constructed in code. Skip automatic registration
// of every XML page (and its Android-only service/worker dependencies).
// Explicit imports can still share any platform-independent app code.
webpack.chainWebpack((config) => {
const entry = config.entry('bundle');
entry.values().forEach((value) => {
if (value.includes('virtual-entry-typescript')) entry.delete(value);
});
});
}
// Learn how to customize:
// https://docs.nativescript.org/webpack