Skip to content

Commit

Permalink
chore(browser): 修改打包脚本,使打包产物的引包处于文件最顶层
Browse files Browse the repository at this point in the history
  • Loading branch information
Colourlessglow committed May 3, 2024
1 parent 06dff1b commit 84ade17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/broswer/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ export default defineConfig({
dts: true,
format: ['cjs', 'esm'],
platform: 'browser',
splitting: true,
treeshake: true,
target: 'es2015',
})

0 comments on commit 84ade17

Please sign in to comment.