You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
404 B

  1. // Rollup plugins
  2. import resolve from 'rollup-plugin-node-resolve';
  3. import babel from 'rollup-plugin-babel';
  4. import eslint from 'rollup-plugin-eslint';
  5. export default {
  6. input: 'src/charts.js',
  7. output: {
  8. file: 'dist/frappe-charts.min.js',
  9. format: 'iife',
  10. },
  11. name: 'Chart',
  12. sourcemap: 'inline',
  13. plugins: [
  14. resolve(),
  15. eslint(),
  16. babel({
  17. exclude: 'node_modules/**',
  18. }),
  19. ],
  20. };