Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into refactor/preact
Browse files Browse the repository at this point in the history
  • Loading branch information
pivanov committed Dec 16, 2024
2 parents 70cbb00 + e24edbe commit dfb42b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scan/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-scan",
"version": "0.0.45",
"version": "0.0.47",
"description": "Scan your React app for renders",
"keywords": [
"react",
Expand Down
4 changes: 4 additions & 0 deletions packages/scan/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import { init, parse } from 'es-module-lexer';

const DIST_PATH = './dist';

if (!fs.existsSync(DIST_PATH)) {
fs.mkdirSync(DIST_PATH, { recursive: true });
}

const addDirectivesToChunkFiles = async (readPath: string): Promise<void> => {
try {
const files = await fsPromise.readdir(readPath);
Expand Down

0 comments on commit dfb42b4

Please sign in to comment.