Skip to content

Commit

Permalink
chore: 2.3.21, close 'side-effects' temporary (#2546)
Browse files Browse the repository at this point in the history
* fix: 暂时关闭 side-effects

* feat: site 添加 ts 依赖

* chore: 2.3.21
  • Loading branch information
visiky authored May 13, 2021
1 parent b3842e1 commit e7c49a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 5 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ module.exports = {
showChartResize: true, // 是否在demo页展示图表视图切换
showAPIDoc: true, // 是否在demo页展示API文档
themeSwitcher: 'g2plot',
playground: {},
playground: {
devDependencies: {
typescript: 'latest',
},
},
mdPlayground: {
// markdown 文档中的 playground 若干设置
splitPaneMainSize: '50%',
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g2plot",
"version": "2.3.20",
"version": "2.3.21",
"description": "An interactive and responsive charting library",
"keywords": [
"chart",
Expand Down Expand Up @@ -149,6 +149,5 @@
"monaco-editor": "0.21.3",
"@babel/plugin-transform-spread": "7.12.1",
"@babel/standalone": "7.12.6"
},
"sideEffects": false
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const version = '2.3.20';
export const version = '2.3.21';

// G2 自定义能力透出
import * as G2 from '@antv/g2';
Expand Down

0 comments on commit e7c49a2

Please sign in to comment.