Use webpack to deliver newest ACE editor

With this commit, we change the delivery method for the ACE editor from manually copied files to using yarn and webpack. As a side-change, we also modify how the mode is selected through JavaScript instead of Ruby.

Through webpack, the `modePath`, `themePath`, and `workerPath` are automatically determined and working as expected.

Closes #250
This commit is contained in:
Sebastian Serth
2024-02-14 00:47:50 +01:00
committed by Sebastian Serth
parent 942dbd20db
commit 4f8d313da4
480 changed files with 39 additions and 329597 deletions

View File

@ -2339,6 +2339,13 @@ __metadata:
languageName: node
linkType: hard
"ace-builds@npm:^1.32.6":
version: 1.32.6
resolution: "ace-builds@npm:1.32.6"
checksum: 9b3ac9a500ab5ce779aed75bc0d799b57ddc24229f458a4c3541c35d2b23b51eec1cbb681335de42cac731883d52073540c52e93e2754d302ed9ed718e28cac4
languageName: node
linkType: hard
"acorn-import-assertions@npm:^1.9.0":
version: 1.9.0
resolution: "acorn-import-assertions@npm:1.9.0"
@ -2947,6 +2954,7 @@ __metadata:
"@sentry/integrations": "npm:^7.108.0"
"@sentry/utils": "npm:^7.108.0"
"@webpack-cli/serve": "npm:^2.0.5"
ace-builds: "npm:^1.32.6"
babel-loader: "npm:^9.1.3"
bootstrap: "npm:^5.3.3"
bootswatch: "npm:^5.3.3"