mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Fixes #52
This commit is contained in:
parent
e8b7ffdcac
commit
ca9e6a49ed
2 changed files with 3 additions and 2 deletions
3
index.js
3
index.js
|
|
@ -105,8 +105,9 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (workerPaths['html']) {
|
if (workerPaths['html']) {
|
||||||
// handlebars and html share the same worker
|
// handlebars, razor and html share the same worker
|
||||||
workerPaths['handlebars'] = workerPaths['html'];
|
workerPaths['handlebars'] = workerPaths['html'];
|
||||||
|
workerPaths['razor'] = workerPaths['html'];
|
||||||
}
|
}
|
||||||
|
|
||||||
const globals = {
|
const globals = {
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,6 @@ module.exports = {
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new MonacoWebpackPlugin({features: ['!contextmenu']})
|
new MonacoWebpackPlugin()
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue