rollup.config.js 628 B

1234567891011121314151617181920
  1. import buble from 'rollup-plugin-buble';
  2. export default {
  3. input: "src/codemirror.js",
  4. output: {
  5. banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others
  6. // Distributed under an MIT license: https://codemirror.net/LICENSE
  7. // This is CodeMirror (https://codemirror.net), a code editor
  8. // implemented in JavaScript on top of the browser's DOM.
  9. //
  10. // You can find some technical background for some of the code below
  11. // at http://marijnhaverbeke.nl/blog/#cm-internals .
  12. `,
  13. format: "umd",
  14. file: "lib/codemirror.js",
  15. name: "CodeMirror"
  16. },
  17. plugins: [ buble({namedFunctionExpressions: false}) ]
  18. };