rollup-dist.js 401 B

1234567891011121314151617181920
  1. /* Rollup plugins. */
  2. import buble from "rollup-plugin-buble";
  3. import eslint from "rollup-plugin-eslint";
  4. import uglify from "rollup-plugin-uglify";
  5. export default {
  6. entry: "src/index.js",
  7. dest: "build/info.min.js",
  8. format: "iife",
  9. plugins: [
  10. eslint ({
  11. configFile: "build-aux/eslint.json",
  12. formatter: "unix",
  13. include: "src/*"
  14. }),
  15. buble (),
  16. uglify ()
  17. ]
  18. };