ember-cli / ember-cli/broccoli-terser-sourcemap

Allow slow concat time to be configurable

Open
#51 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
33
PR merge metrics
No merged PRs in 30d

Description

This is related to #36 #38. Currently, the only way to suppress the message:

`[WARN] (broccoli-uglify-sourcemap) Minifying: 'assets/somefile.js' took: 21087ms (more than 20,000ms)`

is by using the `--silent` option, which also suppresses some other messages which I don't want to suppress. I propose that we allow the "slow" concat time to be configurable ([it is hard coded at 20000ms right now](https://github.com/ember-cli/broccoli-uglify-sourcemap/blob/master/index.js#L114)). Then users can suppress this message only by increasing the time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.