Skip to content

Commit

Permalink
Merge pull request #26 from haines/only-import-editor-api
Browse files Browse the repository at this point in the history
Import the Monaco API without initializing the editor
  • Loading branch information
dmonad authored Jul 31, 2024
2 parents 02db351 + 92b86e9 commit 668fddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/y-monaco.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Y from 'yjs'
import * as monaco from 'monaco-editor'
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api.js'
import * as error from 'lib0/error'
import { createMutex } from 'lib0/mutex'
import { Awareness } from 'y-protocols/awareness' // eslint-disable-line
Expand Down

0 comments on commit 668fddb

Please sign in to comment.