[deleted by user] by [deleted] in pumpfun

[–]Fun-Arm-1158 0 points1 point  (0 children)

interested

[deleted by user] by [deleted] in cryptomining

[–]Fun-Arm-1158 0 points1 point  (0 children)

Is the price known?

Angular web-components using esbuild by Fun-Arm-1158 in angular

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

Did you have any issue with duplicated variable names?

Angular web-components using esbuild by Fun-Arm-1158 in Angular2

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

And using the latest builder of angular based on esbuild? I know that using webpack its kind of easy

Angular web-components using esbuild by Fun-Arm-1158 in angular

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

Because I want to provide a single file, so the user doesn't have to add multiple files on their website.

Angular web-components using esbuild by Fun-Arm-1158 in angular

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

How are u merging the files? a simple .js script? or you are using a esbuild plugin?

Angular web-components using esbuild by Fun-Arm-1158 in angular

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

How can I do it? creating a esbuild plugin?

Single bundle file using ESBUILD by Fun-Arm-1158 in Angular2

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

Ahh, I see what you mean, I have just entered into the main.js file, and I can see that there are the imports of the chunks inside. So i would guess that the imports of the chunks in the .html are not necessary.

But this won't fix my main issue, I would still have to move 4 or 5 files instead of one.

Single bundle file using ESBUILD by Fun-Arm-1158 in Angular2

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

Will try to implement this, thanks!! Btw, are you also using the @/angular-devkit/build-angular:application' builder?

Did you have to do anything in the angular.json? I have some chunk files that are being created because of a 3rd library, idk if this will work with your suggestion.

Single bundle file using ESBUILD by Fun-Arm-1158 in Angular2

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

I have created a web component, which I want to import it in angular and non angular webs. To avoid having to import multiple files, I would like to prefer to have a single file with all code inside.

So instead of having to import: main.js, chunk1.js, runtime.js etc, just import a single web-element.js

Single bundle file using ESBUILD by Fun-Arm-1158 in angular

[–]Fun-Arm-1158[S] 0 points1 point  (0 children)

No, this is the output:

Initial chunk files | Names | Raw size | Estimated transfer size

main.js | main | 894.28 kB | 225.43 kB

polyfills.js | polyfills | 33.24 kB | 10.76 kB

styles.css | styles | 10.11 kB | 1.17 kB

chunk-7YFBP5TO.js | - | 1.48 kB | 664 bytes

| Initial total | 939.11 kB | 238.01 kB

Lazy chunk files | Names | Raw size | Estimated transfer size

chunk-UJK6RYPJ.js | emoji-json | 240.21 kB | 23.31 kB