Ohm-Management - Projektarbeit B-ME
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.

rollup.config.js 692B

1234567891011121314151617181920212223242526272829303132
  1. import resolve from 'rollup-plugin-node-resolve';
  2. import babel from 'rollup-plugin-babel';
  3. const packageJson = require('./package.json');
  4. export default {
  5. entry : "dist/esnext/index.js",
  6. format : "umd",
  7. moduleName : "URI",
  8. plugins: [
  9. resolve({
  10. module: true,
  11. jsnext: true,
  12. preferBuiltins: false
  13. }),
  14. babel({
  15. "presets": [
  16. ["latest", {
  17. "es2015": {
  18. "modules": false
  19. }
  20. }]
  21. ],
  22. "plugins": ["external-helpers"],
  23. "externalHelpers": false
  24. }
  25. )
  26. ],
  27. dest : "dist/es5/uri.all.js",
  28. sourceMap: true,
  29. banner: "/** @license URI.js v" + packageJson.version + " (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */"
  30. }