Commit 1b6d4100 authored by rockyl's avatar rockyl

修复内联过程内过程丢失的问题

parent a23018c9
...@@ -331,6 +331,9 @@ function findDepPids(list, process) { ...@@ -331,6 +331,9 @@ function findDepPids(list, process) {
function findDepPidsBat(list, processes) { function findDepPidsBat(list, processes) {
for (let process of processes) { for (let process of processes) {
findDepPids(list, process); findDepPids(list, process);
if (process.metas) {
findDepPidsBat(list, process.metas);
}
} }
} }
......
This diff is collapsed.
...@@ -337,6 +337,9 @@ function findDepPids(list, process) { ...@@ -337,6 +337,9 @@ function findDepPids(list, process) {
function findDepPidsBat(list, processes) { function findDepPidsBat(list, processes) {
for (let process of processes) { for (let process of processes) {
findDepPids(list, process); findDepPids(list, process);
if (process.metas) {
findDepPidsBat(list, process.metas);
}
} }
} }
......
This diff is collapsed.
...@@ -336,6 +336,9 @@ ${scripts} ...@@ -336,6 +336,9 @@ ${scripts}
function findDepPidsBat(list, processes) { function findDepPidsBat(list, processes) {
for (let process of processes) { for (let process of processes) {
findDepPids(list, process); findDepPids(list, process);
if (process.metas) {
findDepPidsBat(list, process.metas);
}
} }
} }
......
This diff is collapsed.
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
const name = 'zeroing-pack'; const name = 'zeroing-pack';
export default { export default {
input: 'src/index.js', input: 'src/main.js',
output: [ output: [
{ {
file: `dist/index.js`, file: `dist/index.js`,
......
...@@ -152,6 +152,9 @@ function findDepPids(list, process) { ...@@ -152,6 +152,9 @@ function findDepPids(list, process) {
function findDepPidsBat(list, processes) { function findDepPidsBat(list, processes) {
for (let process of processes) { for (let process of processes) {
findDepPids(list, process); findDepPids(list, process);
if (process.metas) {
findDepPidsBat(list, process.metas)
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment