require-terser Require hook that minifies every file passed to it. Used for testing Terser. Usage requireTerser({ // terser config goes here }) Then require your modules as usual.