⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.1
Server IP:
185.238.29.86
Server:
Linux server2 6.8.12-6-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-6 (2024-12-19T19:05Z) x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.31
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
invoice
/
node_modules
/
codemirror
/
View File Name :
rollup.config.js
import buble from '@rollup/plugin-buble'; import copy from 'rollup-plugin-copy' let copyVim = copy({ targets: [ { src: require.resolve("cm5-vim/vim.js").replace(/\\/g, "/"), dest: "./keymap" } ] }); export default [ { input: "src/codemirror.js", output: { banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE // This is CodeMirror (https://codemirror.net/5), 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 . `, format: "umd", file: "lib/codemirror.js", name: "CodeMirror" }, plugins: [ buble({namedFunctionExpressions: false}), copyVim ] }, { input: ["src/addon/runmode/runmode-standalone.js"], output: { format: "iife", file: "addon/runmode/runmode-standalone.js", name: "CodeMirror", freeze: false, // IE8 doesn't support Object.freeze. }, plugins: [ buble({namedFunctionExpressions: false}) ] }, { input: ["src/addon/runmode/runmode.node.js"], output: { format: "cjs", file: "addon/runmode/runmode.node.js", name: "CodeMirror", freeze: false, // IE8 doesn't support Object.freeze. }, plugins: [ buble({namedFunctionExpressions: false}) ] }, ];