pull/2748/head
Alex Dima 2018-11-23 12:53:39 +01:00
parent e8b7ffdcac
commit ca9e6a49ed
2 changed files with 3 additions and 2 deletions

View File

@ -105,8 +105,9 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath)
}
if (workerPaths['html']) {
// handlebars and html share the same worker
// handlebars, razor and html share the same worker
workerPaths['handlebars'] = workerPaths['html'];
workerPaths['razor'] = workerPaths['html'];
}
const globals = {

View File

@ -16,6 +16,6 @@ module.exports = {
}]
},
plugins: [
new MonacoWebpackPlugin({features: ['!contextmenu']})
new MonacoWebpackPlugin()
]
};