Skip to content

Commit

Permalink
build: add target and external options to build (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
João Pedro Magalhães authored Mar 2, 2023
1 parent 74c26c1 commit 681bb19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selection-popover/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defineConfig } from 'tsup'

export default defineConfig({
sourcemap: false,
minify: true,
target: 'es2018',
external: ['react', 'react-dom'],
sourcemap: false,
dts: true,
format: ['esm', 'cjs'],
loader: {
Expand Down

1 comment on commit 681bb19

@vercel
Copy link

@vercel vercel bot commented on 681bb19 Mar 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

selection-popover – ./

selection-popover-git-main-joaom00.vercel.app
selection-popover-joaom00.vercel.app
selection-popover.vercel.app

Please sign in to comment.