Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Conversation

mbektchiev
Copy link
Contributor

The iOS Runtime calls it explicitly by name and it has to be emitted
in tns_modules/tns_core_modules

Refs: NativeScript/ios-jsc#1054, NativeScript/ios-jsc#1055
NativeScript/ios-jsc#1056, NativeScript/ios-jsc#1057

PR Checklist

The iOS Runtime calls it explicitly by name and it has to be emitted
in `tns_modules/tns_core_modules`

Refs: NativeScript/ios-jsc#1054, NativeScript/ios-jsc#1055
NativeScript/ios-jsc#1056, NativeScript/ios-jsc#1057
@mbektchiev mbektchiev force-pushed the bektchiev/emit-inspector-modules-entry branch from 495b836 to 00ecaa0 Compare February 13, 2019 15:04
@mbektchiev mbektchiev requested a review from vakrilov February 13, 2019 15:08
@mbektchiev mbektchiev force-pushed the bektchiev/emit-inspector-modules-entry branch 2 times, most recently from 113c605 to 1d4b071 Compare February 14, 2019 12:07
The default setting causes the WebPack runtime to be loaded twice
because the `inspector_modules` module is loaded by the iOS runtime
as a secondary entry point. This has some undesirable implications
as [stated in the documentation](https://webpack.js.org/configuration/optimization/#optimizationruntimechunk):

> Imported modules are initialized for each runtime chunk separately,
> so if you include multiple entry points on a page, beware of this
> behavior. You will probably want to set it to single or use another
> configuration that allows you to only have one runtime instance.
@mbektchiev mbektchiev force-pushed the bektchiev/emit-inspector-modules-entry branch from 1d4b071 to 6e780af Compare February 14, 2019 17:19
@mbektchiev mbektchiev merged commit 3ecf07a into master Feb 15, 2019
@mbektchiev mbektchiev deleted the bektchiev/emit-inspector-modules-entry branch February 15, 2019 06:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants