Skip to content

Add export for monaco converter #375

Description

@char0n

In 1.x releases we're no longer to be able to do following:

import { ProtocolToMonacoConverter } from 'monaco-languageclient/lib/monaco-converter.js';

Would it be possible to add new field to exports?

  "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "default": "./lib/index.js"
    },
    "./monaco-converter": {
      "types": "./lib/monaco-converter.d.ts",
      "default": "./lib/monaco-converter.js"
    },    
    "./amd": {
      "types": "./dist/amd/index.d.ts",
      "default": "./dist/amd/index.js"
    },
    "./vscode-compatibility": {
      "types": "./lib/vscode-compatibility.d.ts",
      "default": "./lib/vscode-compatibility.js"
    },
    "./amd/vscode-compatibility": {
      "types": "./dist/amd/vscode-compatibility.d.ts",
      "default": "./dist/amd/vscode-compatibility.js"
    }
  },

We only need converter part and and only pull converter necessary files from the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions