Fixes #52
parent
e8b7ffdcac
commit
ca9e6a49ed
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…
Reference in New Issue