Skip to content

Commit

Permalink
refactor: 更新依赖 & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lucy-cl committed Sep 23, 2022
1 parent 4a34a62 commit 69719de
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 1.0.24 (2022-09-23)

#### Bug Fixes

- 修复构建缺少对应依赖的问题

### 1.0.23 (2022-09-19)
#### New Features

Expand Down
4 changes: 2 additions & 2 deletions build.after.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ module.exports = ({ context, onGetWebpackConfig, registerTask, registerCliOption
// },
// 由于 build-plugin-component -> build-scripts-config -> sass-loader 版本是 8.x,所以使用 prependData。
// 如果更新了依赖版本,可以用 additionalData
prependData: (loaderContext) => {
// additionalData: (content, loaderContext) => {
// prependData: (loaderContext) => {
additionalData: (content, loaderContext) => {
// More information about available properties https://webpack.js.org/api/loaders/
const { resourcePath, rootContext } = loaderContext;
// const relativePath = path.relative(rootContext, resourcePath);
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"dependencies": {
"@antv/data-set": "^0.11.5",
"@antv/g2": "^4.2.1",
"@antv/scale": "0.3.18",
"classnames": "^2.2.5",
"lodash": "^4.17.0"
},
Expand Down Expand Up @@ -80,6 +81,7 @@
"sass-extract": "^2.1.0",
"sass-extract-js": "^0.4.0",
"sass-extract-loader": "^1.1.0",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.4.0"
},
"author": "[email protected]"
Expand Down

0 comments on commit 69719de

Please sign in to comment.