12 lines
492 B
Bash
12 lines
492 B
Bash
|
echo "\nTest webextension-polyfill bundled with webpack"
|
||
|
echo "==============================================="
|
||
|
|
||
|
webpack test/fixtures/bundle-entrypoint.js /tmp/webpack-bundle.js
|
||
|
TEST_BUNDLED_POLYFILL=/tmp/webpack-bundle.js npm run test
|
||
|
|
||
|
echo "\nTest webextension-polyfill bundled with browserify"
|
||
|
echo "=================================================="
|
||
|
|
||
|
browserify test/fixtures/bundle-entrypoint.js > /tmp/browserify-bundle.js
|
||
|
TEST_BUNDLED_POLYFILL=/tmp/browserify-bundle.js npm run test
|