mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 05:50:11 +01:00
Dont use .js for typescript imports, as rollup adds them to the output (#5088)
This commit is contained in:
parent
e8e70b3154
commit
9c7b547a98
2 changed files with 7 additions and 7 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
import * as css from '../../language/css/monaco.contribution.js';
|
import * as css from '../../language/css/monaco.contribution';
|
||||||
import * as html from '../../language/html/monaco.contribution.js';
|
import * as html from '../../language/html/monaco.contribution';
|
||||||
import * as json from '../../language/json/monaco.contribution.js';
|
import * as json from '../../language/json/monaco.contribution';
|
||||||
import * as typescript from '../../language/typescript/monaco.contribution.js';
|
import * as typescript from '../../language/typescript/monaco.contribution';
|
||||||
import '../../basic-languages/monaco.contribution.js';
|
import '../../basic-languages/monaco.contribution';
|
||||||
import * as lsp from '@vscode/monaco-lsp-client';
|
import * as lsp from '@vscode/monaco-lsp-client';
|
||||||
|
|
||||||
export * from 'monaco-editor-core';
|
export * from 'monaco-editor-core';
|
||||||
export { createWebWorker, type IWebWorkerOptions } from '../../common/workers.js';
|
export { createWebWorker, type IWebWorkerOptions } from '../../common/workers';
|
||||||
export { css, html, json, typescript, lsp };
|
export { css, html, json, typescript, lsp };
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import * as monaco from 'monaco-editor-core/esm/vs/editor/editor.api.js';
|
import * as monaco from 'monaco-editor-core/esm/vs/editor/editor.api';
|
||||||
|
|
||||||
export function getGlobalMonaco(): any {
|
export function getGlobalMonaco(): any {
|
||||||
return monaco;
|
return monaco;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue