Skip to content

Commit

Permalink
feat: improve some output settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitaarwerk committed Nov 20, 2024
1 parent 58dedb1 commit 082a9f3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
7 changes: 4 additions & 3 deletions packages/gleamy/tsup.config.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ import { defineConfig } from 'tsup';

export default defineConfig({
entry: ['src/index.ts'],
splitting: true,
treeshake: 'smallest',
sourcemap: true,
splitting: true,
bundle: true,
clean: true,
dts: true,
minify: false,
treeshake: 'smallest',
legacyOutput: false,
format: ['esm', 'cjs'],
platform: 'browser',
metafile: false,
platform: 'browser'
});
2 changes: 1 addition & 1 deletion packages/gleamy/tsup.config.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ console.info(licenseContent);

export default defineConfig({
entry: ['src/index.ts'],
sourcemap: true,
sourcemap: false,
splitting: true,
bundle: true,
clean: true,
Expand Down
24 changes: 12 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 082a9f3

Please sign in to comment.