]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
build: read & dynamically resolve `imports` on plugins build (#34509)
authorGeoSot <geo.sotis@gmail.com>
Tue, 23 Nov 2021 15:37:14 +0000 (17:37 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Nov 2021 15:37:14 +0000 (17:37 +0200)
commit58ffe2334a94a061afab87c9fd1266445016bca5
tree2a59efbf256979542be6ce18435c044b308a2c09
parent1ee058adf5ed5fb5d008ee1567fbf0e34cb82ff0
build: read & dynamically resolve `imports` on plugins build (#34509)

Our individual js/dist files are now deduplicated properly thus resulting in a size reduction, which varies from ~25% to ~60% depending on the components used. The average savings are 20% uncompressed and ~15% with gzip.

This will mostly benefit cases that more than one component is imported from js/dist. In all other cases it doesn't have any effect.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
build/build-plugins.js