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 Mar 4, 2022. It is now read-only.
Alright, I think I've got the hang of it. I'm wondering how to extend an archetype. Suppose I'm using an archetype, but I'd like to add a loader that the archetype's webpack config doesn't have. Any recommendation on extending the Webpack config? Any recommendation on how to extend an archetype in general?
The text was updated successfully, but these errors were encountered:
More specifically, I'm wondering: suppose I have archetype-a with it's webpack config (or babel, or gulp, or any config and procedures). I'd like to make a slight modification to it, but rather making an archetype-b package by copying archetype-a, I'm wondering how I might make an extension of archetype-a and publish only that minimal extension as archetype-b so that most of the configurations and procedures are contained in archetype-a with only the minimal change in archetype-b.
For Webpack cases, Mozilla Neutrino has an interesting API for sharing and modifying webpack configs. There's also webpack-merge. These might help to some degree (for Webpack stuff only). Now, just gotta figure out how to (or if we already can?) "extend" archetypes so that we don't have to copy over all the package.json:scripts, etc.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Alright, I think I've got the hang of it. I'm wondering how to extend an archetype. Suppose I'm using an archetype, but I'd like to add a loader that the archetype's webpack config doesn't have. Any recommendation on extending the Webpack config? Any recommendation on how to extend an archetype in general?
The text was updated successfully, but these errors were encountered: