meixifrontserve 0.3.4 → 0.3.6

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": "meixifrontserve",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "private": false,
@@ -30,7 +30,7 @@ class RollupBuildController {
30
30
  this.rollupBuildTarget = JSON.parse(fs.readFileSync(configPath).toString());
31
31
  let str = ''
32
32
  for (let rollupBuildTargetKey in this.rollupBuildTarget) {
33
- let paramsStr = `${this.rollupBuildTarget[`${rollupBuildTargetKey}`][`source`]}-lib/${rollupBuildTargetKey}.umd.min.js`
33
+ let paramsStr = `${this.rollupBuildTarget[`${rollupBuildTargetKey}`][`source`]}-lib/${rollupBuildTargetKey}.min.js`
34
34
  if (!str) {
35
35
  str += `${this.checkPlatform()} / --pathTarget ${paramsStr}`
36
36
  } else {
@@ -54,7 +54,7 @@ class RollupBuildController {
54
54
  console.log('开始准备上传文件');
55
55
  const press = process.cwd();
56
56
  for (let rollupBuildTargetKey in this.rollupBuildTarget) {
57
- let configPath = path.join(press, `./lib/${rollupBuildTargetKey}.umd.min.js`);
57
+ let configPath = path.join(press, `./lib/${rollupBuildTargetKey}.min.js`);
58
58
  let fileContent = fs.readFileSync(configPath);
59
59
  try {
60
60
  let ossParams = await this.netApiToAuth();