Skip to content

Commit f3cfd37

Browse files
committed
add exception for s2
1 parent cf057d9 commit f3cfd37

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cli/zip.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ function addFrameworksToZip(frameworkType, frameworkDir, frameworkName) {
8282
`${frameworkDir}/output/dist`,
8383
`${zipFrameworkPath}/output/dist`,
8484
);
85+
} else if (frameworkName === "s2") {
86+
addLocalFolderIfExists(
87+
`${frameworkDir}/node_modules/s2-engine/dist`,
88+
`${zipFrameworkPath}/node_modules/s2-engine/dist`,
89+
);
8590
} else if (frameworkName === "stem") {
8691
addLocalFolderIfExists(
8792
`${frameworkDir}/node_modules/babel-polyfill/dist`,

0 commit comments

Comments
 (0)