diff --git a/web/next.config.js b/web/next.config.js index 4ee768cca..58c398879 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -46,7 +46,7 @@ const nextConfig = { } }; -const withTM = require('next-transpile-modules')(['@berryv/g2-react','@antv/g2','react-syntax-highlighter']); +const withTM = require('next-transpile-modules')(['@berryv/g2-react','@antv/g2','react-syntax-highlighter', '@antv/gpt-vis']); module.exports = withTM({ ...nextConfig, diff --git a/web/package.json b/web/package.json index 8c5f1f930..685e15bd8 100644 --- a/web/package.json +++ b/web/package.json @@ -16,7 +16,7 @@ "@ant-design/icons": "^5.2.5", "@antv/ava": "3.5.0-alpha.4", "@antv/g2": "^5.1.8", - "@antv/gpt-vis": "^0.0.2", + "@antv/gpt-vis": "^0.0.5", "@antv/s2": "^1.51.2", "@berryv/g2-react": "^0.1.0", "@emotion/react": "^11.11.4",