updated make with aframe build
This commit is contained in:
parent
af6a694cc3
commit
df0c660029
1 changed files with 8 additions and 1 deletions
9
make
9
make
|
|
@ -53,8 +53,15 @@ build_js(){
|
|||
cp dist/xrfragment.js dist/xrfragment.module.js
|
||||
echo "export default xrfragment;" >> dist/xrfragment.module.js
|
||||
# add THREE module
|
||||
cat dist/xrfragment.js src/three/*.js src/three/xrf/*.js > dist/xrfragment.three.js
|
||||
cat dist/xrfragment.js \
|
||||
src/3rd/three/*.js \
|
||||
src/3rd/three/xrf/*.js > dist/xrfragment.three.js
|
||||
echo "export default xrfragment;" >> dist/xrfragment.three.js
|
||||
# add AFRAME
|
||||
cat dist/xrfragment.js \
|
||||
src/3rd/three/*.js \
|
||||
src/3rd/three/xrf/*.js \
|
||||
src/3rd/aframe/*.js > dist/xrfragment.aframe.js
|
||||
exit $ok
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue