This solution is a sucessor to MagePack bundler
For $VERSION, check releases github page
docker run --rm -v "$PWD:/workdir:z" -u "$(id -u "$(whoami)")":"$(id -g "$(whoami)")" mageops/magesuite-baler $VERSION
You can customize behavior with envirionment variables:
IGNORE_FILES - Comma separated list of files patterns that should be excluded from minification (default: core-bundle.js,*.min.js,requirejs-bundle-config.js)RESERVED_KEYWORDS - Comma separated list of keywords that shouldn't be renamed in minification process (default: \$,jQuery,define,require,exports)PROCS - Number of simultaneous minifications processes (default: number of cores)SKIP_DEDUPLICATION - Skip deduplication of static files (will not create symlinks for duplicated files, but may significally increase time needed for minification)SKIP_MINIFICATION - Skip minification of static filesContent type
Image
Digest
Size
94 MB
Last updated
over 6 years ago
docker pull mageops/magesuite-baler