lukehedger / sip

🍹 Small sips of CSS
Other
4 stars 1 forks source link

Add Butternut compression #9

Open lukehedger opened 7 years ago

lukehedger commented 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",
}