launchcodedev / app-config

Easy Configuration Loader with Strict Validation
https://app-config.dev
Mozilla Public License 2.0
69 stars 11 forks source link

Codegen package #168

Closed gregnr closed 3 years ago

gregnr commented 3 years ago

Background

At this point we have many "bundler" plugins that require generating code for app-config (webpack, vite, rollup and react-native). There is a good chunk of codegen logic duplicated between these packages.

Proposal

Create a @app-config/codegen package that is responsible for modularly generating code for the above plugins.

joelgallant commented 3 years ago

Should be done with generateModuleText