We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3d6c4 commit b26ed1aCopy full SHA for b26ed1a
rollup.lib.js
@@ -26,7 +26,7 @@ const libBundles = [
26
{
27
input: "lib/lib.js",
28
output: {
29
- file: pkg.main,
+ file: pkg.module.replace("esm", "cjs"),
30
format: "cjs",
31
sourcemap: sourcemapOption
32
},
test/test-runner.js
@@ -77,7 +77,7 @@ async function getNumFailingTestsInPuppeteer() {
77
const testFiles = await glob("./tests/**/test.js");
78
const browser = await pptr.launch({
79
devtools: OPEN_DEVTOOLS,
80
- ...(process.env.PUPPETEER_EXECUTABLE_PATH.length > 0
+ ...(process.env.PUPPETEER_EXECUTABLE_PATH?.length > 0
81
? { executablePath: process.env.PUPPETEER_EXECUTABLE_PATH }
82
: {})
83
});
0 commit comments