forked from Blendman974/faceclaw
Project setup for iOS version of the app
This commit is contained in:
1 parent
9b70880a5b
commit
61b3bf8b7c
18 files changed
+633
-10
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user