soroban-cli
soroban-cli copied to clipboard
TS Bindings: Minify generated files
It'd be best practice to minify the output files in the dist
files
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'm a frontend and also a blockchain developer and I would love to hop on this issue
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello I'll like to be assigned to work on this.
I'm a software Dev with over four years experience and have worked on a couple of projects here. Here's a link to my profile https://app.onlydust.com/u/raizo07
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello, I am Joseph I am a software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute.
How I plan on tackling this issue
To solve this , I will first install a minification tool Then, I will update the build script in the package.json or build pipeline to include a minification step after TypeScript compilation. Additionally, I can configure terser further by creating a terser.config.js file if more control over the minification process is needed. Once the setup is complete, I'll run the build process and ensure the generated files are properly minified and functional in the final output. I can complete this in 3-4 days
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Helloo, my name is Hellen. I´m currently a computer science student and a web3 developer. I have been working on different exercises on different platforms like Exercism and Starklings in the past weeks so I can get my knowledge about the different languages better . I am hopeful to contribute on this repository!!
How I plan on tackling this issue
To resolve this issue I would do the following:
- Install a build tool so I can work on the minification process.
- Upgrade or create a build script in the package.json.
- Use "--removeComments" in the "tsconfig.json to optimize the TypeScript compilation for production to making it more efficient and improving the project's application.
- Run the build script and checking that it produces minified versions of the TypeScript bindings.
- Fix any issues if they appear at the run process.
I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in TypeScript and JavaScript, focusing on optimizing build processes and file management. I understand the importance of minification for performance and efficiency in production environments.
How I plan on tackling this issue
I’d review the current build process to identify how files are generated in the dist directory. Then, I’d implement a minification tool, such as Terser or UglifyJS, and integrate it into the build pipeline to ensure all output files are minified appropriately.