mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Adjust package.json scripts and move all dev deps to the root package.json
This commit is contained in:
parent
ebcdd4fe0d
commit
7c6062ccf7
45 changed files with 1252 additions and 5160 deletions
|
|
@ -6,15 +6,15 @@
|
|||
const path = require('path');
|
||||
const helpers = require('monaco-plugin-helpers');
|
||||
|
||||
const REPO_ROOT = path.join(__dirname, '../');
|
||||
const REPO_ROOT = path.join(__dirname, '../../');
|
||||
|
||||
helpers.packageESM({
|
||||
repoRoot: REPO_ROOT,
|
||||
esmSource: 'out/esm',
|
||||
esmDestination: 'release/esm',
|
||||
esmSource: 'monaco-html/out/esm',
|
||||
esmDestination: 'monaco-html/release/esm',
|
||||
entryPoints: ['monaco.contribution.js', 'htmlMode.js', 'html.worker.js'],
|
||||
resolveAlias: {
|
||||
'vscode-nls': path.join(REPO_ROOT, 'out/esm/fillers/vscode-nls.js')
|
||||
'vscode-nls': path.join(REPO_ROOT, 'monaco-html/out/esm/fillers/vscode-nls.js')
|
||||
},
|
||||
resolveSkip: ['monaco-editor-core'],
|
||||
destinationFolderSimplification: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue