Blame view

public/assets/addons/fastflow/plugins/codemirror/rollup.config.js 608 Bytes
2db47680   hexiaodong   chore: 初始提交 php 遗...
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}) ]
  };