Open john-shika opened 1 week ago
Yeah, we can't do that yet as this would introduce a breaking change. We'll address that in the next major release
Yeah, we can't do that yet as this would introduce a breaking change. We'll address that in the next major release
Not bad, I have another solution with my problem, thanks for sharing your time, my another solution to built single file with injection link script to class-transformer to link /storage.js
to /cjs/storage.js
, yea it's work, I am built with powershell script build.ps1 👌🏻✨ source ready to compile 😎
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
I am trying to bundle all files into single main file, it's work until supposed conflict with some dependencies, because
@nestjs /mapped-types
requiredclass-transformer@0.3.x
for work, but my project needclass-transfomer@0.5.1
. trying run this command with bun and esbuildDescribe the solution you'd like
I have new solution! let me explain.
class-transformer@0.5.1
keep itclass-transformer/cjs/storage.js
until now, so replacing fromwith
it's work. no error message from my console! but idk this is make some bad decision in the feature. :)
Teachability, documentation, adoption, migration strategy
no migration, but not tested as well
What is the motivation / use case for changing the behavior?
to make it single bundle file or compile it to executable exe if supported by platform like bun, deno, or something similarity, make it fast because bundle with minify.