Towards publishing monaco-editor-webpack-plugin

This commit is contained in:
Alex Dima 2021-12-10 23:17:03 +01:00
parent 3afc60f1ac
commit a6fae61e35
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
11 changed files with 19 additions and 216 deletions

View file

@ -5,10 +5,7 @@ import * as fs from 'fs';
import { AddWorkerEntryPointPlugin } from './plugins/AddWorkerEntryPointPlugin';
import { IFeatureDefinition } from './types';
import { ILoaderOptions } from './loaders/include';
// TODO: replace once a new monaco-editor version is published
// import { EditorLanguage, EditorFeature, NegatedEditorFeature } from 'monaco-editor/esm/metadata';
import { EditorLanguage, EditorFeature, NegatedEditorFeature } from './metadata';
import { EditorLanguage, EditorFeature, NegatedEditorFeature } from 'monaco-editor/esm/metadata';
const INCLUDE_LOADER_PATH = require.resolve('./loaders/include');