Skip to content

Commit

Permalink
fixup : try --output-filename instead of -o
Browse files Browse the repository at this point in the history
-o does not work, the script still outputs to
`./dist/browser-polyfill.js`.
  • Loading branch information
Rob--W committed Oct 14, 2020
1 parent 14ccca5 commit c3b8a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-module-bundlers-smoketests.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Test webextension-polyfill bundled with webpack
===============================================`);

process.env.TEST_BUNDLED_POLYFILL = "/tmp/webpack-bundle.js";
result = shell.exec(`webpack --mode production --entry ./test/fixtures/bundle-entrypoint.js -o ${process.env.TEST_BUNDLED_POLYFILL}`).code ||
result = shell.exec(`webpack --mode production --entry ./test/fixtures/bundle-entrypoint.js --output-filename ${process.env.TEST_BUNDLED_POLYFILL}`).code ||
shell.exec("npm run test").code || result;

console.log(`
Expand Down

0 comments on commit c3b8a79

Please sign in to comment.