mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
use __UI_USE_EXTERNAL_RENDERER__ to not register all ui components
This commit is contained in:
@ -4,7 +4,10 @@ import './globals';
|
||||
// Register "dynamically" loaded module that need to be resolved by the
|
||||
// XML/component builders.
|
||||
import * as coreUIModules from './ui/index';
|
||||
if (__UI_USE_EXTERNAL_RENDERER__) {
|
||||
} else {
|
||||
global.registerModule('@nativescript/core/ui', () => coreUIModules);
|
||||
}
|
||||
|
||||
// global.registerModule('text/formatted-string', () => require('./text/formatted-string'));
|
||||
// global.registerModule('text/span', () => require('./text/span'));
|
||||
|
Reference in New Issue
Block a user