@shijiu/jsview 2.1.366-test.0 → 2.1.367-test.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shijiu/jsview",
3
- "version": "2.1.366-test.0",
3
+ "version": "2.1.367-test.0",
4
4
  "bin": {
5
5
  "jsview-post-build": "./tools/jsview-post-build.js",
6
6
  "jsview-post-install": "./tools/jsview-post-install.js"
@@ -46,8 +46,7 @@ function genConfigFunction(options)
46
46
 
47
47
  if(options.mode == 'remote') {
48
48
  content = `
49
- function getRemoteConfig()
50
- {
49
+ function getRemoteConfig() {
51
50
  const config = {
52
51
  name: 'remote-lib',
53
52
  filename: 'remoteEntry.js',
@@ -64,12 +63,11 @@ function getRemoteConfig()
64
63
 
65
64
  content += `
66
65
  // 自定义模块,根据需要自行配置
67
- // './HelloWorld.vue': './src/components/HelloWorld.vue',
66
+ './App.vue': './src/App.vue',
68
67
  },`;
69
68
  } else if(options.mode == 'host') {
70
69
  content = `
71
- function getHostConfig()
72
- {
70
+ function getHostConfig() {
73
71
  const config = {
74
72
  name: 'host-app',
75
73
  remotes: {