mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
fix: update webpack config
This commit is contained in:
@@ -24,6 +24,7 @@ const nextConfig = {
|
||||
process.env.LOCAL_BLOCK_SUITE &&
|
||||
path.isAbsolute(process.env.LOCAL_BLOCK_SUITE)
|
||||
) {
|
||||
config.cache.buildDependencies.config.push(path.resolve(__dirname, '.env.local'))
|
||||
config.resolve.alias['yjs'] = require.resolve('yjs');
|
||||
config.resolve.extensionAlias = {
|
||||
'.js': ['.js', '.ts', '.tsx'],
|
||||
|
||||
Reference in New Issue
Block a user