app-config
app-config copied to clipboard
NextJS Plugin
Hey! I've been working with the app-config-webpack
plugin a good amount trying to get it to play nice with NextJS.
While I've found a few ways to get the config values from the server to the client, It would be ideal if we could get the config loaded into the bundle as a module. This way Next will send it to the client alongside the rest of the code and it can be imported as any other module would be.
Proposing a new app-config-next
package spun off app-config-webpack
.
Linking this issue: https://github.com/launchcodedev/app-config/issues/210
I haven't used NextJS a lot, but support for it seems like a win to me!