Skip to content

Commit

Permalink
🔧 chore: 更新打包配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Apr 7, 2022
1 parent a006cf3 commit 9742445
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/color-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"clean": "rm -rf es lib dist build coverage .umi"
},
"dependencies": {
"@arvinxu/layout-kit": "workspace:1.4.0",
"chroma-js": "^2.1.1",
"classnames": "^2.3.1",
"copy-to-clipboard": "^3.3.1",
Expand Down
4 changes: 4 additions & 0 deletions packages/color-picker/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ const config = require('../../webpack.config');

module.exports = {
...config,
entry: {
index: './src/index.ts',
'index.min': './src/index.ts',
},
output: {
...config.output,
library: 'ColorPicker',
Expand Down
2 changes: 2 additions & 0 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 9742445

Please sign in to comment.