app-config icon indicating copy to clipboard operation
app-config copied to clipboard

NextJS Plugin

Open fstylermiller opened this issue 1 year ago • 1 comments

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

fstylermiller avatar Mar 06 '23 18:03 fstylermiller

I haven't used NextJS a lot, but support for it seems like a win to me!

joelgallant avatar Mar 07 '23 02:03 joelgallant