mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-07-08 12:30:39 +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
|
// module that exports the create() method and returns a `JSONWorker` instance
|
||||||
moduleId: 'vs/language/json/jsonWorker',
|
moduleId: 'vs/language/json/jsonWorker',
|
||||||
|
|
||||||
|
label: this._defaults.languageId,
|
||||||
|
|
||||||
// passed in to the create() method
|
// passed in to the create() method
|
||||||
createData: {
|
createData: {
|
||||||
languageSettings: this._defaults.diagnosticsOptions,
|
languageSettings: this._defaults.diagnosticsOptions,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue