@onexapis/cli 1.1.40 → 1.1.43

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/dist/index.mjs CHANGED
@@ -746,6 +746,14 @@ async function compileStandaloneTheme(themePath, themeName) {
746
746
  } catch {
747
747
  }
748
748
  await contentHashEntry(outputDir);
749
+ const themeAssetsDir = path8.join(themePath, "assets");
750
+ const distThemeAssets = path8.join(outputDir, "theme-assets");
751
+ try {
752
+ await fs7.access(themeAssetsDir);
753
+ await fs7.cp(themeAssetsDir, distThemeAssets, { recursive: true });
754
+ logger.info("Copied static assets to dist/theme-assets/");
755
+ } catch {
756
+ }
749
757
  await generateManifest(themeName, themePath, outputDir);
750
758
  await generateThemeData(themePath, outputDir, themeName);
751
759
  await generateThemeCSS(themePath, outputDir);