feat(monorepo): build with esm modules (#8729)

fixes https://github.com/NativeScript/NativeScript/issues/8739
This commit is contained in:
Martin Guillon
2020-07-23 22:58:08 +02:00
committed by Nathan Walker
parent 5658e638d5
commit fc64fc3ed9
373 changed files with 2295 additions and 1453 deletions

View File

@@ -2,7 +2,6 @@
import { LayoutBase } from '../layout-base';
import { CSSType } from '../../core/view';
import { Property, makeParser, makeValidator } from '../../core/properties';
import { isIOS } from '../../../platform';
@CSSType('StackLayout')
export class StackLayoutBase extends LayoutBase implements StackLayoutDefinition {
@@ -16,7 +15,7 @@ const converter = makeParser<Orientation>(makeValidator('horizontal', 'vertical'
export const orientationProperty = new Property<StackLayoutBase, Orientation>({
name: 'orientation',
defaultValue: 'vertical',
affectsLayout: isIOS,
affectsLayout: global.isIOS,
valueConverter: converter,
});
orientationProperty.register(StackLayoutBase);