@embeddable.com/sdk-core 3.7.1 → 3.7.2
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/lib/index.esm.js +8 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +8 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/push.ts +10 -4
package/package.json
CHANGED
package/src/push.ts
CHANGED
|
@@ -175,10 +175,16 @@ async function buildArchive(config: any) {
|
|
|
175
175
|
YAML_OR_JS_FILES,
|
|
176
176
|
);
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
let selfServeFiles: [string, string][] = [];
|
|
179
|
+
|
|
180
|
+
// check existance of self-serve-customization folder
|
|
181
|
+
try {
|
|
182
|
+
await fs.access(config.client.selfServeCustomizationDir);
|
|
183
|
+
selfServeFiles = await findFiles(
|
|
184
|
+
`${config.client.selfServeCustomizationDir}`,
|
|
185
|
+
SELF_SERVE_CUSTOM_FILES,
|
|
186
|
+
);
|
|
187
|
+
} catch (e: any) {}
|
|
182
188
|
|
|
183
189
|
await archive(config, filesList, selfServeFiles);
|
|
184
190
|
return spinnerArchive.succeed("Bundling completed");
|