soroban-cli icon indicating copy to clipboard operation
soroban-cli copied to clipboard

TS Bindings: Minify generated files

Open piyalbasu opened this issue 1 year ago • 5 comments

It'd be best practice to minify the output files in the dist files

piyalbasu avatar Jan 04 '24 16:01 piyalbasu

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

CollinsC1O avatar Sep 26 '24 07:09 CollinsC1O

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

raizo07 avatar Sep 26 '24 08:09 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

josephchimebuka avatar Sep 26 '24 10:09 josephchimebuka

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.

t0fudev avatar Sep 27 '24 04:09 t0fudev

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.

Luluameh avatar Sep 28 '24 00:09 Luluameh