diff --git a/gatsby-config.js b/gatsby-config.js index 2ba6d78ac6..abfb62d2ab 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -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%', diff --git a/package.json b/package.json index 009cf75672..9e608d5a4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g2plot", - "version": "2.3.20", + "version": "2.3.21", "description": "An interactive and responsive charting library", "keywords": [ "chart", @@ -149,6 +149,5 @@ "monaco-editor": "0.21.3", "@babel/plugin-transform-spread": "7.12.1", "@babel/standalone": "7.12.6" - }, - "sideEffects": false + } } diff --git a/src/index.ts b/src/index.ts index 0f8e410084..044e48ae8a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -export const version = '2.3.20'; +export const version = '2.3.21'; // G2 自定义能力透出 import * as G2 from '@antv/g2';