Skip to content

Commit 82dd7c2

Browse files
committed
fix bundle check
1 parent 97d7b05 commit 82dd7c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/bundle-check/compare-bundles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Array.from(allComponents)
4343
const prEntry = prMap.get(componentName);
4444

4545
let displayName;
46-
if (componentName.startsWith("components/")) {
46+
if (componentName.startsWith("packages/components/")) {
4747
const packageName = componentName.split("/")[1];
4848
displayName = `@vibe/${packageName}`;
4949
} else {

scripts/bundle-check/generate-size-limit-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require("path");
33

44
const rootPath = process.cwd();
55
const distIndexPath = path.join(rootPath, "packages/core/dist/src/index.js");
6-
const componentsPath = path.join(rootPath, "components");
6+
const componentsPath = path.join(rootPath, "packages/components");
77
const sizeLimitConfigPath = path.join(rootPath, ".size-limit.js");
88

99
function generateSizeLimitConfig() {

0 commit comments

Comments
 (0)