Skip to content

Commit 519b3ad

Browse files
adrianheinemarijnh
authored andcommitted
Add buble to rollup
1 parent 27acd63 commit 519b3ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"node-static": "0.6.0",
2020
"phantomjs-prebuilt": "^2.1.12",
2121
"rollup": "^0.34.10",
22+
"rollup-plugin-buble": "^0.14.0",
2223
"rollup-watch": "^2.5.0"
2324
},
2425
"bugs": "http://github.com/codemirror/CodeMirror/issues",

rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import buble from 'rollup-plugin-buble';
2+
13
export default {
24
banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others
35
// Distributed under an MIT license: http://codemirror.net/LICENSE
@@ -11,5 +13,6 @@ export default {
1113
entry: "src/codemirror.js",
1214
format: "umd",
1315
dest: "lib/codemirror.js",
14-
moduleName: "CodeMirror"
16+
moduleName: "CodeMirror",
17+
plugins: [ buble() ]
1518
};

0 commit comments

Comments
 (0)