monaco-editor/webpack-plugin/smoketest/index.js

5 lines
141 B
JavaScript
Raw Normal View History

2021-11-16 05:16:09 +08:00
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';
// expose the monaco API as a global for tests
window.monacoAPI = monaco;