meixifrontserve 0.2.3 → 0.2.5
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/config/package.json
CHANGED
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"vuex": "^3.4.0",
|
|
54
54
|
"meixioacomponent": "^0.9.73",
|
|
55
55
|
"meixisuperdrawer": "^0.0.1",
|
|
56
|
-
"@vue/cli-plugin-babel": "~4.5.
|
|
57
|
-
"@vue/cli-plugin-eslint": "~4.5.
|
|
56
|
+
"@vue/cli-plugin-babel": "~4.5.19",
|
|
57
|
+
"@vue/cli-plugin-eslint": "~4.5.19",
|
|
58
58
|
"@vue/cli-plugin-router": "~4.5.13",
|
|
59
59
|
"@vue/cli-plugin-vuex": "~4.5.13",
|
|
60
|
-
"@vue/cli-service": "~4.5.
|
|
60
|
+
"@vue/cli-service": "~4.5.19",
|
|
61
61
|
"@vue/eslint-config-standard": "^5.1.2",
|
|
62
62
|
"@vuepress/plugin-pwa": "^1.9.7",
|
|
63
63
|
"babel-eslint": "^10.1.0",
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ class RollupBuildController {
|
|
|
31
31
|
for (let rollupBuildTargetKey in this.rollupBuildTarget) {
|
|
32
32
|
let paramsStr = `${this.rollupBuildTarget[`${rollupBuildTargetKey}`][`source`]}-lib/${rollupBuildTargetKey}.umd.js`
|
|
33
33
|
if (!str) {
|
|
34
|
-
str +=
|
|
34
|
+
str += `${this.checkPlatform()} / --pathTarget ${paramsStr}`
|
|
35
35
|
} else {
|
|
36
36
|
str += `-${paramsStr}`
|
|
37
37
|
}
|
|
@@ -150,6 +150,19 @@ class RollupBuildController {
|
|
|
150
150
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
+
|
|
154
|
+
checkPlatform() {
|
|
155
|
+
switch (process.platform) {
|
|
156
|
+
case 'darwin':
|
|
157
|
+
return 'sudo meixirollupbuild -b'
|
|
158
|
+
case "win32":
|
|
159
|
+
return 'meixirollupbuild -b'
|
|
160
|
+
|
|
161
|
+
default:
|
|
162
|
+
return 'meixirollupbuild -b'
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
153
166
|
}
|
|
154
167
|
|
|
155
168
|
|