Skip to content

Commit

Permalink
ignore jotai dir when building @pbkit/wrp
Browse files Browse the repository at this point in the history
  • Loading branch information
disjukr committed Oct 15, 2022
1 parent ad3dbeb commit 0b05397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-npm-packages/buildWrp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default async function buildWrp(config: BuildConfig) {
const entries = walk(srcDir, { includeDirs: false, exts: [".ts"] });
for await (const { path: fromPath } of entries) {
const path = fromPath.substring(srcDir.length + 1);
if (path.startsWith("react")) continue;
if (path.startsWith("react") || path.startsWith("jotai")) continue;
const toPath = join(tsDir, path);
await ensureDir(dirname(toPath));
const code = await Deno.readTextFile(fromPath);
Expand Down

0 comments on commit 0b05397

Please sign in to comment.