mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Use label for the web workers
This commit is contained in:
parent
69912f9b93
commit
f53c1650ed
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ export class WorkerManager {
|
|||
// module that exports the create() method and returns a `JSONWorker` instance
|
||||
moduleId: 'vs/language/json/jsonWorker',
|
||||
|
||||
label: this._defaults.languageId,
|
||||
|
||||
// passed in to the create() method
|
||||
createData: {
|
||||
languageSettings: this._defaults.diagnosticsOptions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue