Skip to content

Commit

Permalink
feat: global package minify
Browse files Browse the repository at this point in the history
  • Loading branch information
caohuilin committed Oct 12, 2024
1 parent 1af7cd0 commit 7741b3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/global/modern.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export default defineConfig({
dts: false,
format: 'umd',
autoExternal: false,
alias: {
'@modern-js/utils/lodash': require.resolve(
'@modern-js/codesmith-utils/lodash',
),
},
minify: 'terser',
},
plugins: [moduleTools()],
});

0 comments on commit 7741b3b

Please sign in to comment.