mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-12 12:37:14 +00:00
fix: gpt-vis esm error
This commit is contained in:
@@ -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,
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user