-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable preprocessing of JavaScript from React component libraries
Preprocessing means that the files will be aggregated if enabled. Aggregation disables sourcemaps which makes JavaScript errors significantly harder to debug. We could toggle this through configuration but we do not want to disable aggregation for other JavaScript files. This may degrade performance because multiple files will have to be downloaded. On the other hand features like HTTP/2 should make this less of a problem in practice. Not using aggregation should also enable browsers to cache the files once downloaded as they will not change across pages.
- Loading branch information
Showing
1 changed file
with
18 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters