We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81210fc commit d1f756fCopy full SHA for d1f756f
readme.markdown
@@ -84,6 +84,17 @@ $ cat bundle/common.js bundle/y.js | node
84
333
85
```
86
87
+## command-line outpipe example
88
+
89
+We can pipe each output file through some other processes. Here we'll do
90
+minification with uglify compression with gzip:
91
92
+``` sh
93
+browserify files/*.js \
94
+ -p [ ../ -o 'uglifyjs -cm | gzip > bundle/`basename $FILE`.gz' ] \
95
+ | uglifyjs -cm | gzip > bundle/common.js.gz
96
+```
97
98
## api plugin example
99
100
If you prefer you can use the factor-bundle plugin api directly in code:
0 commit comments