Open lukehedger opened 7 years ago
https://github.com/rollup/rollup-plugin-butternut
import butternut from 'rollup-plugin-butternut' const isTest = process.env.TEST export default { plugins: [ !isTest && butternut(), ], }
"scripts": { "build": "rollup -c, "pretest": "npm run build -- --environment TEST", }
https://github.com/rollup/rollup-plugin-butternut