Skip to content

Commit e0acd04

Browse files
committed
Added section about combining with task runner
1 parent 0d3747e commit e0acd04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77

88
A simple PHP script to combine and minify multiple JS or CSS files passed via URI, inspired by [jsDelivr](https://www.jsdelivr.com/features/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=php-combine-scripts#combine).
99

10+
It was created for when you have multiple scripts at a static/CDN domain, allowing you to pick and bundle different libraries based on your current needs.
11+
12+
Generally, it is best to combine multiple assets into bundles using a task runner such as [webpack](https://webpack.js.org/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=php-combine-scripts) or [Gulp](https://gulpjs.com/?utm_source=github.com&utm_medium=referral&utm_content=link&utm_campaign=php-combine-scripts), but it can be handy depending on your use case.
13+
1014
## Setup
1115

1216
1. Clone or unzip the files to a directory off of your web root. For example, `/combine/`. Change to that directory.

0 commit comments

Comments
 (0)