Skip to content

fix-next(preview): externalize all plugins from the Preview app #4004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 10, 2018

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented Oct 9, 2018

Mark all plugins that are already in the Preview app as external. This
will prevent webpack from bundling them. Having two instances of one
plugin, may cause problems.

The external plugins that depend on Angular or Vue won't work if the
corresponding dependency is bundled. The plugin will look for these
dependencies only in the external `tns_modules`. That's why Angular and
Vue should be external and not bundled by webpack.
Mark all plugins that are already in the Preview app as external. This
will prevent webpack from bundling them. Having two instances of one
plugin, may cause problems.
@sis0k0 sis0k0 force-pushed the sis0k0/preview-externalize-angular branch from 326cebc to aae5ace Compare October 10, 2018 12:02
@sis0k0 sis0k0 requested a review from DimitarTachev October 10, 2018 12:03
@sis0k0 sis0k0 changed the title fix-next(preview): externalize Angular and Vue dependencies fix-next(preview): externalize all plugins from the Preview app Oct 10, 2018
@sis0k0 sis0k0 merged commit d3f99f5 into master Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants