diff --git a/package.json b/package.json index 29f37b31..042ae9df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WebODM", - "version": "3.0.0", + "version": "2.4.0", "description": "User-friendly, extendable application and API for processing aerial imagery.", "main": "index.js", "scripts": { @@ -68,6 +68,7 @@ "webpack": "5.89.0", "webpack-bundle-tracker": "0.4.3", "webpack-livereload-plugin": "3.0.2", - "mini-css-extract-plugin": "1.6.2" + "mini-css-extract-plugin": "1.6.2", + "buffer": "^6.0.3" } } diff --git a/webpack.config.js b/webpack.config.js index 6b5b20cd..443ead2b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -88,7 +88,7 @@ module.exports = { modules: ['node_modules', 'bower_components'], extensions: ['.js', '.jsx'], fallback: { - "buffer": false + buffer: require.resolve('buffer'), } },