added buffer package and version change

Added buffer as webpack 5 does not use it anymore.
Version change in package.json
pull/1439/head
chris-bateman 2023-11-23 12:32:35 +11:00
rodzic 6ea180dd43
commit dae49a7b2c
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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"
}
}

Wyświetl plik

@ -88,7 +88,7 @@ module.exports = {
modules: ['node_modules', 'bower_components'],
extensions: ['.js', '.jsx'],
fallback: {
"buffer": false
buffer: require.resolve('buffer'),
}
},