mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 02:35:58 +08:00
fix: multiple yjs in debug local mode (#1276)
This commit is contained in:
@@ -84,6 +84,7 @@ const nextConfig = {
|
|||||||
test: /\.md$/i,
|
test: /\.md$/i,
|
||||||
loader: 'raw-loader',
|
loader: 'raw-loader',
|
||||||
});
|
});
|
||||||
|
config.resolve.alias['yjs'] = require.resolve('yjs');
|
||||||
|
|
||||||
if (!isServer && !dev) {
|
if (!isServer && !dev) {
|
||||||
config.devtool = 'hidden-nosources-source-map';
|
config.devtool = 'hidden-nosources-source-map';
|
||||||
|
|||||||
Reference in New Issue
Block a user