mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-28 20:40:06 +00:00
Copy to examples folder
This commit is contained in:
parent
fc3d121fe7
commit
3fdf14f6a3
2 changed files with 3 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -5,12 +5,10 @@ node_modules
|
|||
|
||||
dist/
|
||||
lib/
|
||||
examples/playground/static/js/app.js
|
||||
examples/playground/static/uppy/
|
||||
examples/dropbox/static/js/app.js
|
||||
website/db.json
|
||||
website/*.log
|
||||
website/node_modules/
|
||||
website/public/
|
||||
website/.deploy*/
|
||||
website/src/_drafts
|
||||
website/src/examples/uppy.js
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
SRC="src/index.js"
|
||||
OUT="uppy.js"
|
||||
|
||||
EXAMPLEOUT="website/src/examples/uppy.js"
|
||||
OUTDIR="dist"
|
||||
TRANSFORMS="[ babelify ]"
|
||||
FLAGS="-t [ babelify ] --standalone Uppy"
|
||||
|
|
@ -9,3 +10,4 @@ rm -rf $OUTDIR
|
|||
mkdir $OUTDIR
|
||||
|
||||
browserify $SRC $FLAGS > $OUTDIR/$OUT
|
||||
cp $OUTDIR/$OUT $EXAMPLEOUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue