fix: multiple yjs in debug local mode (#1276)

This commit is contained in:
Himself65
2023-03-02 13:50:23 -06:00
committed by GitHub
parent 6c4def18a6
commit ec5d8ca179

View File

@@ -84,6 +84,7 @@ const nextConfig = {
test: /\.md$/i,
loader: 'raw-loader',
});
config.resolve.alias['yjs'] = require.resolve('yjs');
if (!isServer && !dev) {
config.devtool = 'hidden-nosources-source-map';