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

feat: add setting for plain modules regex #582

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

PeterStaev
Copy link
Contributor

PR Checklist

What is the current behavior?

Currently the regex for loading modules in non-angular apps is hardcoded and causes problems with apps that don't use the correct naming.

What is the new behavior?

Adds a registerModules option for the bundle-config-loader that allows users to specify custom regex to register their modules. Also if needed they can set the new option to false completely disabling automatic module registration for non-angular apps.

Closes #556.

Copy link
Contributor

@sis0k0 sis0k0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 10x for the PR!

@sis0k0
Copy link
Contributor

sis0k0 commented Jun 25, 2018

test

@sis0k0 sis0k0 merged commit 404abbb into NativeScript:master Jun 25, 2018
@PeterStaev PeterStaev deleted the issue-556 branch June 25, 2018 15:48
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