You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Configure builds to disable minification #1485
Builds are configurable to disable minification. When consuming components produced by Stencil, I am doing so in an environment where I am using webpack, rollup, etc. It is unnecessary for Stencil to force minification on my builds.
Additionally, when I consume my stencil components in another project and they throw an error, because the code is minified and there are no source maps, it is difficult to trace the origin of the error. Had the code not been minified (and that responsibility was left to my own bundler), I'd have an easier time reasoning about errors thrown by my Stencil components.
Consequently, the minification provides a sub-optimal developer experience, and should be optional.
Activity
[-]Disable minification[/-][+]Feature Request: Configure builds to disable minification[/+]bodinaren commentedon Apr 30, 2019
In current version 1.0.0-alpha.14 you can add
minifyJs: falseto the stencil.config.ts file.