Open jordie23 opened 3 years ago
@kylebebak Are there plans to continue work on this package?
It appears like this repo is abandoned. Here are the instructions how to maintain a copy of this package for your own project. It ended up taking just a bit of extra effort.
patch-package
in your projectexample
as its new destinationIn a new terminal window:
git clone git@github.com:example/react-dropzone-uploader.git
cd react-dropzone-uploader
npm install
src
npm run build
dist/
folder to your project's node_modules/react-dropzone-uploader
:
rm -rf node_modules/react-dropzone-uploader/dist
cp -r path/to/react-dropzone-uploader/dist node_modules/react-dropzone-uploader
npm run postinstall -- react-dropzone-uploader
react-dropzone-uploader
I also recommend turning off the minifier on the newly forked repo. This way your patches are more obvious:
webpack.build.config.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/webpack.build.config.js b/webpack.build.config.js
index 6636b27..7bff398 100644
--- a/webpack.build.config.js
+++ b/webpack.build.config.js
@@ -12,7 +12,7 @@ function createConfig(entry, output) {
entry,
output,
optimization: {
- minimizer: [new UglifyJSPlugin()],
+ minimize: false,
},
module: {
rules: [
welp looks like im gonna be switching to a diff project
Looks like there's been no commits or releases for at least a year?