1 | import buble from 'rollup-plugin-buble';
|
2 |
|
3 | export default {
|
4 | banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
5 | // Distributed under an MIT license: http://codemirror.net/LICENSE
|
6 |
|
7 | // This is CodeMirror (http://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 | entry: "src/codemirror.js",
|
14 | format: "umd",
|
15 | dest: "lib/codemirror.js",
|
16 | moduleName: "CodeMirror",
|
17 | plugins: [ buble({namedFunctionExpressions: false}) ]
|
18 | };
|