metabrowse icon indicating copy to clipboard operation
metabrowse copied to clipboard

[WIP] Load monaco using the webpack plugin

Open jonas opened this issue 7 years ago • 2 comments
trafficstars

The resulting code is not currently minified so the generated site is much larger. That should be fixed with the Webpack 4 upgrade in #105 .

jonas avatar Oct 02 '18 03:10 jonas

#105 has now been merged so this needs a rebase. What would be the implications of loading monaco with the webpack plugin?

olafurpg avatar Oct 07 '18 09:10 olafurpg

The plugin allows to only include the parts of the editor that is needed for this project, so ideally it will reduce the size.

This is currently blocked by https://github.com/Microsoft/monaco-editor-webpack-plugin/issues/26 which was fixed in 1.5.0 and requires Monaco Editor version 1.4.x.

jonas avatar Oct 08 '18 17:10 jonas