fix: gpt-vis esm error

This commit is contained in:
hustcc
2024-08-27 18:55:50 +08:00
parent 1a520d9b45
commit 9d06852a52
2 changed files with 2 additions and 2 deletions

View File

@@ -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,

View File

@@ -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",