-
Notifications
You must be signed in to change notification settings - Fork 32
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
Use registry transformer #79
Conversation
Codecov Report
@@ Coverage Diff @@
## master #79 +/- ##
==========================================
- Coverage 68.84% 67.68% -1.17%
==========================================
Files 8 8
Lines 321 328 +7
Branches 55 57 +2
==========================================
+ Hits 221 222 +1
- Misses 95 101 +6
Partials 5 5
Continue to review full report at Codecov.
|
src/base.config.ts
Outdated
onlyCompileBundledFiles: true, | ||
instance: 'dojo', | ||
getCustomTransformers: () => ({ | ||
before: [registryTransformer(basePath, lazyModules)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be nice to only add this if we have lazyModules
? not sure of the performance costs (we do not exit early from the transformer)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yeah that's a good suggestion.
Type: feature
Description:
Implement the registry transformer, such that the widget modules specified in bundles entry of the dojorc will automatically be added to the registry at build time. This enables configuration driven code splitting for applications.