mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-21 15:41:57 +00: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…
Reference in a new issue