You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using webpack 4+ and react application with react-s3-upload library. When I compile my react application, it's compiled successfully without any issue but a portion of the file content skipped during this process. Here is the file - https://github.com/odysseyscience/react-s3-uploader/blob/master/ReactS3Uploader.js
and this portion of file content skipped.
I finished by wrap ReactS3Uploader class to redefine propTypes :
constMyUploader=ReactS3UploaderMyUploader.propTypes={// Copy propTypes from here : https://github.com/odysseyscience/react-s3-uploader/blob/master/ReactS3Uploader.js#L12}exportdefaultMyUploader
I am using webpack 4+ and react application with react-s3-upload library. When I compile my react application, it's compiled successfully without any issue but a portion of the file content skipped during this process. Here is the file -
https://github.com/odysseyscience/react-s3-uploader/blob/master/ReactS3Uploader.js
and this portion of file content skipped.
propTypes: { signingUrl: PropTypes.string, getSignedUrl: PropTypes.func, preprocess: PropTypes.func, onSignedUrl: PropTypes.func, onProgress: PropTypes.func, onFinish: PropTypes.func, onError: PropTypes.func, signingUrlMethod: PropTypes.string, signingUrlHeaders: PropTypes.oneOfType([ PropTypes.object, PropTypes.func ]), signingUrlQueryParams: PropTypes.oneOfType([ PropTypes.object, PropTypes.func ]), signingUrlWithCredentials: PropTypes.bool, uploadRequestHeaders: PropTypes.object, contentDisposition: PropTypes.string, server: PropTypes.string, scrubFilename: PropTypes.func, s3path: PropTypes.string, inputRef: PropTypes.func, autoUpload: PropTypes.bool }
I am using the terser library to minify JS file.
Please let me know if you need more insight on this.
The text was updated successfully, but these errors were encountered: