You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build Tools: Restore license headers for CodeMirror JS and CSS.
Adds the required license header to the minified CodeMirror bundles during the build process.
- Updates tools/webpack/codemirror.config.js to include the license header using BannerPlugin and ensures Terser preserves important comments.
- Adds a usebanner:codemirror task to Gruntfile.js to append the license header to the minified CSS.
- Dynamically retrieves the CodeMirror version from package.json for inclusion in the header.
- Reformats the license headers to use multi-line backtick string literals for better maintainability.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
banner: `/*! This file is auto-generated from CodeMirror - v${pkg.dependencies.codemirror}\n`+
183
+
`\n`+
184
+
`CodeMirror, copyright (c) by Marijn Haverbeke and others\n`+
185
+
`Distributed under an MIT license: http://codemirror.net/LICENSE\n`+
186
+
`\n`+
187
+
`This is CodeMirror (http://codemirror.net), a code editor\n`+
188
+
`implemented in JavaScript on top of the browser's DOM.\n`+
189
+
`\n`+
190
+
`You can find some technical background for some of the code below\n`+
banner: `/*! This file is auto-generated from CodeMirror - v${pkg.dependencies.codemirror}\n`+
29
+
`\n`+
30
+
`CodeMirror, copyright (c) by Marijn Haverbeke and others\n`+
31
+
`Distributed under an MIT license: http://codemirror.net/LICENSE\n`+
32
+
`\n`+
33
+
`This is CodeMirror (http://codemirror.net), a code editor\n`+
34
+
`implemented in JavaScript on top of the browser's DOM.\n`+
35
+
`\n`+
36
+
`You can find some technical background for some of the code below\n`+
0 commit comments