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

feat(xml-namespace-loader): add ignore option #605

Merged
merged 4 commits into from
Jul 23, 2018

Conversation

PeterStaev
Copy link
Contributor

PR Checklist

What is the current behavior?

There is no way to exclude local modules. This causes problems with typescript based apps.

What is the new behavior?

With the ignore option user can exclude any local fragments and register them either manually or by using the registerModules regex option for the bundle-config-loader

Closes #558.

@sis0k0
Copy link
Contributor

sis0k0 commented Jul 16, 2018

I think this might be unnecessary, because you can remove the loader from the webpack config. Am I missing something?

@PeterStaev
Copy link
Contributor Author

If you remove the loader, then you also have to manually register plugins included in the XML files. What I would like is still leave the automatic registration of plugins (which works pretty awesome) and only ignore the local fragments which have issues with the automatic registration.

@sis0k0
Copy link
Contributor

sis0k0 commented Jul 17, 2018

test

@sis0k0 sis0k0 merged commit b509bb3 into NativeScript:master Jul 23, 2018
@PeterStaev PeterStaev deleted the issue-558 branch July 23, 2018 11:02
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