Compare commits

...

3 Commits

Author SHA1 Message Date
JU-NINE NGU CHO
4a7cc8d361
Merge d5c86ce9ab into 557a2cce35 2025-07-29 11:32:49 +01:00
river
557a2cce35 chore: update version
Some checks failed
Run Tests / test (push) Has been cancelled
2025-07-29 14:39:45 +08:00
chojuninengu
d5c86ce9ab
Enhance Webpack configuration by adding fallbacks for Node.js core modules and integrating ProvidePlugin for Buffer and process support. 2025-04-29 10:56:55 +01:00
2 changed files with 17 additions and 1 deletions

View File

@ -21,9 +21,25 @@ const nextConfig = {
} }
config.resolve.fallback = { config.resolve.fallback = {
...config.resolve.fallback,
child_process: false, child_process: false,
process: false,
path: false,
fs: false,
os: false,
util: false,
stream: false,
buffer: require.resolve('buffer/'),
events: require.resolve('events/'),
}; };
config.plugins.push(
new webpack.ProvidePlugin({
Buffer: ['buffer', 'Buffer'],
process: 'process/browser',
}),
);
return config; return config;
}, },
output: mode, output: mode,

View File

@ -9,7 +9,7 @@
}, },
"package": { "package": {
"productName": "NextChat", "productName": "NextChat",
"version": "2.15.8" "version": "2.16.1"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {