refactor: 优化消息加载 (#288)

* refactor: 尝试优化消息加载

- Updated webpack configuration to exclude additional sourcemaps.
- Changed local development URL for easier access.
- Implemented batch processing for handling chat messages to prevent main thread blocking.
- Refined message component to selectively subscribe to user and reaction data.
- Enhanced virtual message feed to manage visible message count and improve loading performance.

* chore: bump version to v0.9.44
This commit is contained in:
haorwen
2025-12-31 00:15:36 +08:00
committed by GitHub
parent dea7e0446e
commit 7f14b4b65e
6 changed files with 94 additions and 47 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ module.exports = function (webpackEnv) {
// Handle node_modules packages that contain sourcemaps
shouldUseSourceMap && {
enforce: "pre",
exclude: /@babel(?:\/|\\{1,2})runtime/,
exclude: /@babel(?:\/|\\{1,2})runtime|@toast-ui\+editor/,
test: /\.(js|mjs|jsx|ts|tsx|css)$/,
loader: require.resolve("source-map-loader")
},