@forge/cli

12.22.0-experimental-04cc2b912.23.0-next.7-experimental-44b7a12
out/module-add/vite-scaffolder.js
~out/module-add/vite-scaffolder.jsModified
+4−3
Index: package/out/module-add/vite-scaffolder.js
===================================================================
--- package/out/module-add/vite-scaffolder.js
+++ package/out/module-add/vite-scaffolder.js
@@ -1,9 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.planViteConfig = planViteConfig;
-exports.planCommonJsx = planCommonJsx;
-exports.applyScaffoldChange = applyScaffoldChange;
+exports.applyScaffoldChange = exports.planCommonJsx = exports.planViteConfig = void 0;
 const tslib_1 = require("tslib");
 const fs_1 = tslib_1.__importDefault(require("fs"));
 const path_1 = tslib_1.__importDefault(require("path"));
 const diff_1 = require("diff");
@@ -72,8 +70,9 @@
         return undefined;
     const patch = (0, diff_1.createTwoFilesPatch)(configPath, configPath, before, after, 'before', 'after');
     return { filePath: configPath, before, after, patch };
 }
+exports.planViteConfig = planViteConfig;
 function planCommonJsx(cwd, resourceKey) {
     const filePath = path_1.default.join(cwd, 'static', resourceKey, 'src', 'common.jsx');
     const exists = fs_1.default.existsSync(filePath);
     if (exists)
@@ -84,12 +83,14 @@
         return undefined;
     const patch = (0, diff_1.createTwoFilesPatch)(filePath, filePath, before, after, 'before', 'after');
     return { filePath, before, after, patch };
 }
+exports.planCommonJsx = planCommonJsx;
 function applyScaffoldChange(change) {
     if (!change)
         return false;
     fs_1.default.mkdirSync(path_1.default.dirname(change.filePath), { recursive: true });
     fs_1.default.writeFileSync(change.filePath, change.after, 'utf8');
     return true;
 }
+exports.applyScaffoldChange = applyScaffoldChange;
 //# sourceMappingURL=vite-scaffolder.js.map
\ No newline at end of file