quarkiverse / quarkus-web-bundler

Create full-stack web apps quickly and easily with this Quarkus extension. It offers zero-configuration bundling for your web app scripts (JS, JSX, TS, TSX), dependencies (jQuery, React, htmx, etc.), and styles (CSS, SCSS, SASS).
Apache License 2.0
16 stars 9 forks source link

Exclude source mapping from release build #194

Closed haz00 closed 2 months ago

haz00 commented 2 months ago

Is it possible to exclude source mapping from the release build? I can see that these files are included, and all things like comments can be viewed in the release bundle.

ia3andy commented 2 months ago

It's not implemented yet but this is an option we could add and then that you could configure to be effective only in production for example.

ia3andy commented 2 months ago

https://github.com/mvnpm/esbuild-java/blob/main/src/main/java/io/mvnpm/esbuild/model/EsBuildConfigBuilder.java#L128

ia3andy commented 2 months ago

@haz00 I just made a PR https://github.com/quarkiverse/quarkus-web-bundler/pull/195

haz00 commented 2 months ago

Great, thank you

ia3andy commented 2 months ago

I am waiting for a few new things before releasing it

ia3andy commented 2 months ago

@haz00 1.5.0.CR1 should soon be on central with this feature + the new dev-ui