Skip to content

Commit ccdb4e3

Browse files
Adjust CJS validators
1 parent 3d4e567 commit ccdb4e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/validate-cjs-browser-bundle.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ for (const key of Object.keys(window)) {
1414
}
1515
}
1616

17-
require('../dist/index.browser.cjs');
17+
require('../dist/cjs/index.js');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// As the community transitions to ESM, we can easily break our CJS bundle.
22
// This smoke test can help to detect this early.
33

4-
require('../dist/index.node.cjs');
4+
require('../dist/cjs/index.js');

0 commit comments

Comments
 (0)