This repository was archived by the owner on Jun 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Production
Konrad Dzwinel edited this page Nov 23, 2015
·
3 revisions
Extension runs out of the box using on the fly transpilation. For better performance, code can be transpiled offline:
mkdir bin/ bin/lib/
cp -r css bin/css
cp -r device-art bin/device-art
cp -r fonts bin/fonts
cp -r icons bin/icons
cp -r welcome-videos bin/welcome-videos
cp lib/browser-sync.js bin/lib/browser-sync.js
cp manifest.json bin/manifest.json
cp *.html bin/
jspm bundle-sfx lib/background bin/lib/background.js --skip-source-maps -y
jspm bundle-sfx lib/devtools bin/lib/devtools.js --skip-source-maps -y
jspm bundle-sfx lib/edl bin/lib/edl.js --skip-source-maps -y
For all HTML files
<script src="jspm_packages/traceur.js"></script>
<script src="jspm_packages/system.js"></script>
have to be removed and
<script src="lib/loaders/load-SOME_NAME.js"></script>
has to be changed to
<script src="lib/SOME_NAME.js"></script>
Load extension from the bin
folder.