Skip to content

Commit e6db70b

Browse files
committed
Add the src dir in the dist folder in dev mode
1 parent bebe0f1 commit e6db70b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/build/build.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,8 @@ import { patchCssForMui } from "./patchCssForMui";
149149
);
150150

151151
fs.cpSync(dsfrDirPath, pathJoin(distDirPath, "dsfr"), { "recursive": true });
152+
fs.cpSync(pathJoin(projectRootDirPath, "src"), pathJoin(distDirPath, "src"), {
153+
"recursive": true
154+
});
152155
}
153156
})();

0 commit comments

Comments
 (0)