/* * NOTICE OF LICENSE * * This product is licensed for one customer to use on one installation (test stores and multishop included). * Site developer has the right to modify this module to suit their needs, but can not redistribute the module in * whole or in part. Any other use of this module constitutes a violation of the user agreement. * * DISCLAIMER * * NO WARRANTIES OF DATA SAFETY OR MODULE SECURITY * ARE EXPRESSED OR IMPLIED. USE THIS MODULE IN ACCORDANCE * WITH YOUR MERCHANT AGREEMENT, KNOWING THAT VIOLATIONS OF * PCI COMPLIANCY OR A DATA BREACH CAN COST THOUSANDS OF DOLLARS * IN FINES AND DAMAGE A STORES REPUTATION. USE AT YOUR OWN RISK. * * @author idnovate.com * @copyright 2022 idnovate.com * @license See above */ import buble from '@rollup/plugin-buble'; export default [ { input: "src/codemirror.js", output: { banner: `// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/LICENSE // This is CodeMirror (https://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 . `, format: "umd", file: "lib/codemirror.js", name: "CodeMirror" }, plugins: [ buble({namedFunctionExpressions: false}) ] }, { 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}) ] }, ];