File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,11 @@ import { Registry } from 'vs/platform/registry/common/platform'
2323import { Extensions , IConfigurationRegistry } from 'vs/platform/configuration/common/configurationRegistry'
2424import { StandaloneConfigurationService } from 'vs/editor/standalone/browser/standaloneServices'
2525import { IConfigurationModel } from 'vs/platform/configuration/common/configuration'
26+
27+ // Monaco build process treeshaking is very aggressive and everything that is not used in monaco is removed
28+ // Unfortunately, it makes some class not respect anymore the interface they are supposed to implement
29+ // In this file we are restoring some method that are treeshaked out of monaco-editor but that are needed in this library
30+
2631StandaloneConfigurationService . prototype . getConfigurationData ??= ( ) => {
2732 const emptyModel : IConfigurationModel = {
2833 contents : { } ,
You can’t perform that action at this time.
0 commit comments