rigjs 2.1.8 → 2.1.9
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/built/index.js +3 -3
- package/lib/build/index.ts +1 -1
- package/lib/deploy/index.ts +2 -2
- package/package.json +1 -1
package/lib/build/index.ts
CHANGED
|
@@ -64,7 +64,7 @@ export default async (cmd: any) => {
|
|
|
64
64
|
}
|
|
65
65
|
if (!ep.extra_env) ep.extra_env = {};
|
|
66
66
|
ep.extra_env['PUBLIC_PATH'] = ep.publicPath;
|
|
67
|
-
ep.extra_env['OUTPUT_DIR'] = path.join(cicd.source.root_path, ep.
|
|
67
|
+
ep.extra_env['OUTPUT_DIR'] = path.join(cicd.source.root_path, ep.deployDir);
|
|
68
68
|
|
|
69
69
|
switch (frameworktype) {
|
|
70
70
|
case FrameworkType.vue: {
|
package/lib/deploy/index.ts
CHANGED
|
@@ -41,13 +41,13 @@ export default async (cmd: any) => {
|
|
|
41
41
|
const distPath = path.join(
|
|
42
42
|
process.cwd(),
|
|
43
43
|
cicd.source.root_path,
|
|
44
|
-
cicdCmd.endpoints[i].
|
|
44
|
+
cicdCmd.endpoints[i].deployDir
|
|
45
45
|
);
|
|
46
46
|
traverseFolder(distPath);
|
|
47
47
|
await aliOss.putStreamFiles(
|
|
48
48
|
filesList,
|
|
49
49
|
cicdCmd.endpoints[i].deployDir.replace(/\\/g, '/'),
|
|
50
|
-
cicdCmd.endpoints[i].
|
|
50
|
+
cicdCmd.endpoints[i].deployDir,
|
|
51
51
|
cicd.source.root_path
|
|
52
52
|
);
|
|
53
53
|
filesList = [];
|
package/package.json
CHANGED