forked from codemirror/codemirror5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrollup.config.js
More file actions
18 lines (16 loc) · 608 Bytes
/
Copy pathrollup.config.js
File metadata and controls
18 lines (16 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import buble from 'rollup-plugin-buble';
export default {
banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// This is CodeMirror (http://codemirror.net), a code editor
// implemented in JavaScript on top of the browser's DOM.
//
// You can find some technical background for some of the code below
// at http://marijnhaverbeke.nl/blog/#cm-internals .
`,
entry: "src/codemirror.js",
format: "umd",
dest: "lib/codemirror.js",
moduleName: "CodeMirror",
plugins: [ buble({namedFunctionExpressions: false}) ]
};