UNPKG

common-shakeify

Version:

browserify tree shaking plugin using @indutny common-shake

16 lines (13 loc) 186 B
module.exports = (t) => { const deletes = [ 'y', 'z', 'lol' ] t.plan(4) return { onExportDelete (file, name) { t.equal(deletes.shift(), name) } } }