mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 09:20:10 +01:00
Move metadata.js to root
This commit is contained in:
parent
e65bc32232
commit
1f837fe159
44 changed files with 45 additions and 45 deletions
82
metadata.js
Normal file
82
metadata.js
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
(function () {
|
||||
var METADATA = {
|
||||
CORE: {
|
||||
paths: {
|
||||
src: '/vscode/out/vs',
|
||||
'npm/dev': 'node_modules/monaco-editor-core/dev/vs',
|
||||
'npm/min': 'node_modules/monaco-editor-core/min/vs',
|
||||
built: '/vscode/out-monaco-editor-core/min/vs',
|
||||
releaseDev: 'release/dev/vs',
|
||||
releaseMin: 'release/min/vs'
|
||||
}
|
||||
},
|
||||
PLUGINS: [
|
||||
{
|
||||
name: 'monaco-typescript',
|
||||
contrib: 'vs/language/typescript/monaco.contribution',
|
||||
modulePrefix: 'vs/language/typescript',
|
||||
rootPath: './out/release/typescript',
|
||||
paths: {
|
||||
// use ./ to indicate it is relative to the `rootPath`
|
||||
dev: './dev',
|
||||
min: './min',
|
||||
esm: './esm'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'monaco-css',
|
||||
contrib: 'vs/language/css/monaco.contribution',
|
||||
modulePrefix: 'vs/language/css',
|
||||
rootPath: './out/release/css',
|
||||
paths: {
|
||||
// use ./ to indicate it is relative to the `rootPath`
|
||||
dev: './dev',
|
||||
min: './min',
|
||||
esm: './esm'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'monaco-json',
|
||||
contrib: 'vs/language/json/monaco.contribution',
|
||||
modulePrefix: 'vs/language/json',
|
||||
rootPath: './out/release/json',
|
||||
paths: {
|
||||
// use ./ to indicate it is relative to the `rootPath`
|
||||
dev: './dev',
|
||||
min: './min',
|
||||
esm: './esm'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'monaco-html',
|
||||
contrib: 'vs/language/html/monaco.contribution',
|
||||
modulePrefix: 'vs/language/html',
|
||||
rootPath: './out/release/html',
|
||||
paths: {
|
||||
// use ./ to indicate it is relative to the `rootPath`
|
||||
dev: './dev',
|
||||
min: './min',
|
||||
esm: './esm'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'monaco-languages',
|
||||
contrib: 'vs/basic-languages/monaco.contribution',
|
||||
modulePrefix: 'vs/basic-languages',
|
||||
rootPath: './out/release/basic-languages',
|
||||
paths: {
|
||||
// use ./ to indicate it is relative to the `rootPath`
|
||||
dev: './dev',
|
||||
min: './min',
|
||||
esm: './esm'
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
if (typeof exports !== 'undefined') {
|
||||
exports.METADATA = METADATA;
|
||||
} else {
|
||||
self.METADATA = METADATA;
|
||||
}
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue