Skip to content

Commit dda5d48

Browse files
feat: migrated rollup to esbuild
1 parent 6049f89 commit dda5d48

File tree

6 files changed

+44
-1714
lines changed

6 files changed

+44
-1714
lines changed

packages/react/babel.config.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/react/esbuild.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import esbuild from 'esbuild'
2+
3+
await esbuild.build({
4+
outfile: `./dist/index.js`,
5+
entryPoints: ['src/index.ts'],
6+
tsconfig: './tsconfig.json',
7+
bundle: true,
8+
platform: 'neutral',
9+
format: 'esm',
10+
packages: 'external',
11+
})

0 commit comments

Comments
 (0)