Skip to content

Commit

Permalink
Fixes microsoft#52
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Nov 23, 2018
1 parent e8b7ffd commit ca9e6a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion test/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ module.exports = {
}]
},
plugins: [
new MonacoWebpackPlugin({features: ['!contextmenu']})
new MonacoWebpackPlugin()
]
};

0 comments on commit ca9e6a4

Please sign in to comment.