Error bundling script using this package: Uncaught SyntaxError: Identifier xxx has already been declared
#37
Labels
bug
Something isn't working
Describe the bug
Hi, when using deno bundle on a script that uses this package I get a range of errors when running the bundled files.
Your environment
SDK version number
[email protected]/client-s3
Details of the deno version
deno 1.26.1 (release, aarch64-apple-darwin)
v8 10.7.193.3
typescript 4.8.3
Steps to reproduce
Save the following code to a file:
Run the following to create the bundle:
Then try to use it:
Observed behavior
Depending on the script being used I've seen a range of errors - for the simple script above I get:
I have also seen:
error: Uncaught SyntaxError: Identifier 'ValidationError' has already been declared class ValidationError extends CommandError {
Expected behavior
The bundled script should work
Additional context
The text was updated successfully, but these errors were encountered: