Skip to content
Snippets Groups Projects
Commit 27acd635 authored by Adrian Heine's avatar Adrian Heine Committed by Marijn Haverbeke
Browse files

Move to rollup.config.js

parent 581854ea
No related branches found
Tags 5.14.2
No related merge requests found
......@@ -8,8 +8,8 @@
"lib": "./lib"
},
"scripts": {
"build": "rollup --banner \"`cat src/banner.js`\" --format umd -n CodeMirror src/codemirror.js -o lib/codemirror.js",
"watch": "rollup -w --banner \"`cat src/banner.js`\" --format umd -n CodeMirror src/codemirror.js -o lib/codemirror.js",
"build": "rollup -c",
"watch": "rollup -w -c",
"prepublish": "npm run-script build",
"test": "node ./test/run.js",
"lint": "bin/lint"
......
// CodeMirror, copyright (c) by Marijn Haverbeke and others
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
......@@ -6,3 +7,9 @@
//
// 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"
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment