Add diff view for received messages

This commit is contained in:
Thomas Nordquist
2019-02-23 22:49:42 +01:00
parent 107ca83882
commit 138f51eb39
5 changed files with 178 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
const LiveReloadPlugin = require('webpack-livereload-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
module.exports = {
entry: {
@@ -66,6 +67,10 @@ module.exports = {
plugins: [
new LiveReloadPlugin({}),
new HtmlWebpackPlugin({ template: './index.html', file: './build/index.html', inject: false }),
new MonacoWebpackPlugin({
// available options are documented at https://github.com/Microsoft/monaco-editor-webpack-plugin#options
languages: ['json']
})
// new BundleAnalyzerPlugin(),
],