ui: use sharedworker for messages conn

This commit is contained in:
undefined committed 2022-02-03 21:09:32 +08:00
1 parent b0f1c0d52c
commit a2d5996311
8 files changed
+102 -13

No files matched your search

@@ -199,6 +199,7 @@ export default function (env = {}) {
{ from: root('static') },
{ from: root(`${dirname(require.resolve('vditor/package.json'))}`), to: 'vditor/' },
{ from: `${dirname(require.resolve('monaco-themes/package.json'))}/themes`, to: 'monaco/themes/' },
{ from: root('.build/sharedworker.js'), to: 'sharedworker.js' },
],
}),
new webpack.DefinePlugin({