mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 07:00:11 +01:00
Fixes css and amd output
This commit is contained in:
parent
6f3fbe8c3a
commit
759c442dae
1 changed files with 7 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ export default defineConfig(async (args) => {
|
|||
},
|
||||
build: {
|
||||
lib: {
|
||||
cssFileName: () => 'editor/editor.main.css',
|
||||
entry: {
|
||||
...nlsEntries,
|
||||
'nls.messages-loader': resolve(__dirname, 'src/nls.messages-loader.js'),
|
||||
|
|
@ -62,7 +63,12 @@ export default defineConfig(async (args) => {
|
|||
),
|
||||
rollupOptions: {
|
||||
external: ['require', 'vs/nls.messages-loader!'],
|
||||
output: {}
|
||||
output: {
|
||||
amd: {
|
||||
basePath: 'vs',
|
||||
autoId: true
|
||||
}
|
||||
}
|
||||
},
|
||||
minify: args.mode !== 'development',
|
||||
emptyOutDir: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue