IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

36 lines
972B

  1. import resolve from 'rollup-plugin-node-resolve'
  2. import buble from 'rollup-plugin-buble';
  3. import minify from 'rollup-plugin-minify';
  4. import copy from 'rollup-plugin-copy';
  5. import includePaths from 'rollup-plugin-includepaths';
  6. import license from 'rollup-plugin-license';
  7. export default {
  8. //dest: 'dist/app.min.js',
  9. input: 'src/js/index.js',
  10. output: {
  11. file: 'dist/js/app.min.js',
  12. name: 'CHEMTOP',
  13. format: 'umd',
  14. sourceMap: true
  15. },
  16. plugins: [
  17. includePaths({
  18. paths: ['src/js', 'src/js/widget', 'src/js/misc']
  19. }),
  20. copy({
  21. 'src/html/index.html': 'dist/index.html',
  22. 'src/css/index.css': 'dist/css/index.css',
  23. verbose: true
  24. }),
  25. buble({jsx: 'h'}),
  26. resolve({}),
  27. license({
  28. banner: 'Copyright (C) F. Hoffmann-La Roche AG, 2020.\nAuthor: stanislaw.adaszewski@roche.com\nAll Rights Reserved.',
  29. }) /* ,
  30. minify({
  31. iife: 'dist/app.min.js'
  32. }) */
  33. ]
  34. }