diff --git a/packages/demo/build.json b/packages/demo/build.json index 5a86fb950..38868b6b0 100644 --- a/packages/demo/build.json +++ b/packages/demo/build.json @@ -1,6 +1,7 @@ { "entry": { - "index": "src/vision/index.ts" + "index": "src/vision/index.ts", + "react-simulator-renderer": "../react-simulator-renderer/src/index.ts" }, "vendor": false, "devServer": { @@ -12,8 +13,6 @@ "react-dom": "var window.ReactDOM", "prop-types": "var window.PropTypes", "@alifd/next": "var window.Next", - "@ali/lowcode-editor-core": "var window.LCECore", - "@ali/visualengine": "var window.VisualEngine", "@ali/visualengine-utils": "var window.VisualEngineUtils" }, "plugins": [ diff --git a/tsconfig.json b/tsconfig.json index 339280c91..46a462b3b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -38,7 +38,8 @@ "skipLibCheck": true, "baseUrl": "./packages", "paths": { - "@ali/lowcode-*": ["./*/src"] + "@ali/lowcode-*": ["./*/src"], + "@ali/visualengine": ["./vision-preset/src"] }, "outDir": "lib" },