mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
058aeebb86
* expose react and react-dom in plugin private context * updates lockfile * un-async the action Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
11 lines
225 B
TypeScript
11 lines
225 B
TypeScript
import { build } from 'esbuild';
|
|
|
|
build({
|
|
bundle: true,
|
|
entryPoints: ['./src/index.ts'],
|
|
external: ['react', 'react-dom'],
|
|
format: 'cjs',
|
|
outfile: './dist/index.js',
|
|
watch: Boolean(process.env.ESBUILD_WATCH),
|
|
});
|