Remove leftover webpackChunkName comments from codeeditor (#37062)

Followup to https://github.com/go-gitea/gitea/pull/36764, forgot to
remove this from the vite migration.

---
This PR was written with the help of Claude Opus 4.6

Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
This commit is contained in:
silverwindandClaude authored and GitHub committed 2026-03-31 21:31:11 -07:00
1 parent a20e182067
commit 47a0d88056
2 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import type {Extension} from '@codemirror/state';
/** Creates a linter for JSON files using `jsonParseLinter` from `@codemirror/lang-json`. */
export async function createJsonLinter(cm: CodemirrorModules): Promise<Extension> {
const {jsonParseLinter} = await import(/* webpackChunkName: "codemirror" */ '@codemirror/lang-json');
const {jsonParseLinter} = await import('@codemirror/lang-json');
const baseLinter = jsonParseLinter();
return cm.lint.linter((view) => {
return baseLinter(view).map((d) => {