Skip to content

Commit

Permalink
Merge pull request #73 from kne-union/linzp
Browse files Browse the repository at this point in the history
Linzp
  • Loading branch information
zhipenglin authored Apr 24, 2024
2 parents e87ec4d + f42f3e4 commit 2440340
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
4 changes: 0 additions & 4 deletions lib/modulefederation.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ module.exports = {
singleton: true, requiredVersion: false
}, '@kne/global-preset': {
singleton: true, requiredVersion: false
}, '@monaco-editor/loader': {
singleton: true, requiredVersion: false
}, '@monaco-editor/react': {
singleton: true, requiredVersion: false
}
}
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kne/modules-dev",
"version": "2.0.22",
"version": "2.0.23",
"description": "用于辅助在项目内启动一个规范化组件开发的环境",
"publishConfig": {
"source": "src/index.js",
Expand Down
1 change: 0 additions & 1 deletion template-libs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@kne/modules-dev": "^2.0.6",
"@kne/react-fetch": "^1.4.2",
"@kne/remote-loader": "^1.2.3",
"@monaco-editor/loader": "^1.4.0",
"antd": "^5.13.3",
"axios": "^1.6.7",
"classnames": "^2.5.1",
Expand Down
7 changes: 0 additions & 7 deletions template-libs-example/src/preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ import {Spin, Empty, message} from 'antd';
import axios from 'axios';
import {preset as remoteLoaderPreset} from '@kne/remote-loader';
import omit from 'lodash/omit';
import monacoLoader from '@monaco-editor/loader';

window.PUBLIC_URL = process.env.PUBLIC_URL;

monacoLoader.config({
paths: {
vs: 'https://registry.npmmirror.com/monaco-editor/0.48.0/files/min/vs'
}
});

const componentsCoreRemote = {
remote: "components-core",
url: "https://registry.npmmirror.com",
Expand Down

0 comments on commit 2440340

Please sign in to comment.