diff --git a/packages/demo/build.json b/packages/demo/build.json index 42ade8d92..83cf581dd 100644 --- a/packages/demo/build.json +++ b/packages/demo/build.json @@ -2,8 +2,7 @@ "entry": { "index": "src/index", "editor-preset-vision": "../editor-preset-vision/src/index.ts", - "react-simulator-renderer": "../react-simulator-renderer/src/index.ts", - "rax-simulator-renderer": "../rax-simulator-renderer/src/index.ts" + "react-simulator-renderer": "../react-simulator-renderer/src/index.ts" }, "vendor": false, "devServer": { @@ -16,8 +15,7 @@ "prop-types": "var window.PropTypes", "@alifd/next": "var window.Next", "@ali/visualengine": "var window.VisualEngine", - "@ali/visualengine-utils": "var window.VisualEngineUtils", - "rax": "var window.Rax" + "@ali/visualengine-utils": "var window.VisualEngineUtils" }, "plugins": [ [ diff --git a/packages/demo/build.plugin.js b/packages/demo/build.plugin.js index 9e95cbd09..53380e73a 100644 --- a/packages/demo/build.plugin.js +++ b/packages/demo/build.plugin.js @@ -10,15 +10,12 @@ module.exports = ({ onGetWebpackConfig }) => { ]); config - // 定义插件名称 - .plugin('MonacoWebpackPlugin') - // 第一项为具体插件,第二项为插件参数 - .use( - new MonacoWebpackPlugin({ - languages: ['typescript', 'css', 'json'], - }), - [], - ); + // 定义插件名称 + .plugin('MonacoWebpackPlugin') + // 第一项为具体插件,第二项为插件参数 + .use(new MonacoWebpackPlugin({ + languages:["typescript","css","json"] + }), []); config.plugins.delete('hot'); config.devServer.hot(false); diff --git a/packages/demo/public/index.html b/packages/demo/public/index.html index 5a4ed76dd..e219c8bad 100644 --- a/packages/demo/public/index.html +++ b/packages/demo/public/index.html @@ -16,7 +16,6 @@ -