2.9.0-beta.1 • Published 11 months ago

@app-config/esbuild v2.9.0-beta.1

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
11 months ago

App Config esbuild

Use app-config with esbuild.

Install:

yarn add -D @app-config/esbuild

Then add it to your esbuild configuration:

const { createPlugin: appConfig } = require('@app-config/esbuild');

require('esbuild')
  .build({
    bundle: true,
    entryPoints: ['./src/index.ts'],
    outfile: './dist/index.js',
    // this is the line we care about
    plugins: [appConfig()],
  })
  .catch(() => process.exit(1));

This will allow you to import @app-config/main from your application, with all filesystem and other Node.js code stripped out (when using bundle).

2.9.0-beta.1

11 months ago

2.8.7

1 year ago

2.8.6

1 year ago

2.8.5

2 years ago

2.8.3

2 years ago

2.8.4

2 years ago

2.8.2

2 years ago

2.8.1

3 years ago

3.0.0-alpha.6

3 years ago

2.8.0

3 years ago