Skip to content

Commit

Permalink
rfc(@blocks-*): export modules
Browse files Browse the repository at this point in the history
  • Loading branch information
wootsbot committed Oct 11, 2023
1 parent b46872b commit 45f05fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@blocks-unstyled/scripts/modulesGeneration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = require("fs-extra");
const fs = require("fs");
const path = require("path");

const rootSourceDir = path.join(__dirname, "..");
Expand Down
4 changes: 3 additions & 1 deletion packages/@blocks-unstyled/scripts/preparePublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ fs.copySync(path.join(__dirname, "../src"), path.join(rootDirOutput, "src"));

fs.copySync(path.join(__dirname, "../build"), path.join(rootDirOutput));

fs.moveSync(path.join(rootDirOutput), path.join(__dirname, ".."));
fs.moveSync(path.join(rootDirOutput), path.join(__dirname, ".."), {
overwrite: true,
});
fs.removeSync(path.join(__dirname, "../build"));

0 comments on commit 45f05fc

Please sign in to comment.