Skip to content

Commit 980076b

Browse files
committed
add support for Node10 common
1 parent 272f579 commit 980076b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prebuild.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ forEach(tasks.getTasks(), (task) => {
1818
const taskFilePath = path.join(task.directory, "task.json");
1919
const taskFile = fs.existsSync(taskFilePath) ? fs.readJsonSync(taskFilePath) : {};
2020

21-
if (taskFile.execution.Node) {
21+
if (taskFile.execution.Node || taskFile.execution.Node10) {
2222
fs.ensureDirSync(targetNodeCommonDir);
2323
fs.ensureDirSync(taskNodeModules);
2424
forEach(nodeFiles, (commonFile) => {

0 commit comments

Comments
 (0)