Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-07-07 16:17:08 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-07-07 16:17:08 +0300
commit65171d58f0d194917ddb1f46637fbb10403e7cf8 (patch)
tree9fbe4dcb00a86c71e84c6e502c7214bed2f238ac /webpack.common.js
parent77544d3fe16dec880092e143d2b65eeafdc9fbc6 (diff)
Bump webpack from v4 to v5
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 40a6468ad..0d081819f 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -33,9 +33,6 @@ module.exports = {
chunkFilename: 'mail.[name].[contenthash].js',
publicPath: '/js/',
},
- node: {
- fs: 'empty',
- },
module: {
rules: [
{
@@ -102,5 +99,10 @@ module.exports = {
resolve: {
extensions: ['*', '.js', '.vue', '.json'],
symlinks: false,
+ fallback: {
+ buffer: require.resolve('buffer/'),
+ stream: require.resolve('stream-browserify'),
+ util: require.resolve('util/'),
+ },
},
}