You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2018. It is now read-only.
I have a number of react apps that use a shared component library. Each app uses a different subset of the shared library. In each apps webpack config I have to hardcode the paths of the shared components the app uses. Effectively I am duplicating the work that webpack does navigating the dependency tree. Would it be possible to scan the output from webpack (effectively the emitted js chunks) for classnames rather than configuring the paths?
The text was updated successfully, but these errors were encountered:
i actually think this should be the default behavior with an option to disable it.
it would free users from extra work to add globs for UI framework dependencies, and would probably be the most 'general use case' of this plugin.. or am I missing something?
it should work very nicely with properly tree-shaken chunks too.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a number of react apps that use a shared component library. Each app uses a different subset of the shared library. In each apps webpack config I have to hardcode the paths of the shared components the app uses. Effectively I am duplicating the work that webpack does navigating the dependency tree. Would it be possible to scan the output from webpack (effectively the emitted js chunks) for classnames rather than configuring the paths?
The text was updated successfully, but these errors were encountered: