wait-run-webpack-plugin
v1.1.5
Published
> TODO: description
Readme
wait-run-webpack-plugin
For bundles that don't want to run instantly, unless revoke them manually.
Usage
const WaitRunWebpackPlugin = require('wait-run-webpack-plugin');
module.exports = {
plugins: [new WaitRunWebpackPlugin({ test: /bundle\.js/ })],
};Run
window.addEventListener('bundleReady', function (event) {
event.detail.run();
});