Closed ChristopherBiscardi closed 5 years ago
Hi, i'm working on a Gatsby theme, it's working fine in a monorepo but i get an error as soon as i try to use it outside of the monorepo, could it be related to this issue? EDIT: my bad found this closed issue, probably the same error for me https://github.com/ChristopherBiscardi/gatsby-theme-examples/issues/12
yeah, it's the same issue. We're going to put the webpack config in core so people in userland don't have to do it themselves.
Gatsby themes should use the default webpack config to compile their files unless the user overrides the webpack config, at which point we could introduce a helper to merge the two configs.
This allows authors to ship uncompiled code