ionic-team / stencil

A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
https://stenciljs.com
Other
12.41k stars 777 forks source link

The no-module script from dist output is not minified #2911

Closed kensodemann closed 3 weeks ago

kensodemann commented 3 years ago

If you do a production build or a build with the minifyJs Stencil config option enabled, the no-module script does not get minified entirely. You can see this in the following:

No-module script is not minified https://unpkg.com/browse/@esri/calcite-components@1.0.0-beta.55/dist/calcite/calcite.js

ESM is minified as expected https://unpkg.com/browse/@esri/calcite-components@1.0.0-beta.55/dist/calcite/calcite.esm.js

christian-bromann commented 3 weeks ago

Hi @kensodemann 👋

We apologize for the delay in addressing this issue. The StencilJS team has been hard at work, and we appreciate your patience.

As StencilJS has undergone significant updates and improvements since this issue was originally posted, we believe that this specific concern may no longer be relevant with the latest version. Therefore, we are closing this issue.

If you are still experiencing this problem or have any new issues, please feel free to open a new issue with the latest details, and we will be happy to assist you.

Thank you for your understanding and support of StencilJS!