File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 88 "lib" : " ./lib"
99 },
1010 "scripts" : {
11- "build" : " rollup --banner \" `cat src/banner.js` \" --format umd -n CodeMirror src/codemirror.js -o lib/codemirror.js " ,
12- "watch" : " rollup -w --banner \" `cat src/banner.js` \" --format umd -n CodeMirror src/codemirror.js -o lib/codemirror.js " ,
11+ "build" : " rollup -c " ,
12+ "watch" : " rollup -w -c " ,
1313 "prepublish" : " npm run-script build" ,
1414 "test" : " node ./test/run.js" ,
1515 "lint" : " bin/lint"
Original file line number Diff line number Diff line change 1- // CodeMirror, copyright (c) by Marijn Haverbeke and others
1+ export default {
2+ banner : `// CodeMirror, copyright (c) by Marijn Haverbeke and others
23// Distributed under an MIT license: http://codemirror.net/LICENSE
34
45// This is CodeMirror (http://codemirror.net), a code editor
56// implemented in JavaScript on top of the browser's DOM.
67//
78// You can find some technical background for some of the code below
89// at http://marijnhaverbeke.nl/blog/#cm-internals .
10+ ` ,
11+ entry : "src/codemirror.js" ,
12+ format : "umd" ,
13+ dest : "lib/codemirror.js" ,
14+ moduleName : "CodeMirror"
15+ } ;
You can’t perform that action at this time.
0 commit comments