diff options
author | Joas Schilling <coding@schilljs.com> | 2019-12-16 14:01:33 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-12-16 14:01:33 +0300 |
commit | 5794a151d72cb4985c1de33eddf58227ff3f1215 (patch) | |
tree | efc154d54ccb7ecbe75a1703e07aaa5decf28ee9 /Makefile | |
parent | 1343d9c0b9f3192cc0b97696c715d46bf5f6cc9d (diff) |
Remove code from bundling webrtc manually
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -15,7 +15,7 @@ all: dev-setup build-js-production dev-setup: clean-dev npm-init -dependabot: dev-setup npm-update build-js-production bundle-simplewebrtc +dependabot: dev-setup npm-update build-js-production release: appstore create-tag @@ -47,15 +47,6 @@ clean: clean-dev: clean rm -rf node_modules -bundle-simplewebrtc: - # webrtc-adapter uses JavaScript features not supported by browserify, - # so the sources need to be transformed using babel to a compatible - # version of JavaScript. - # Its main module does no longer provide "module.exports", which is - # expected by the code using it, so it needs to be added back with a - # plugin. - npx browserify --standalone SimpleWebRTC --transform [ babelify --global --presets [ @babel/env ] --plugins [ add-module-exports ] ] js/simplewebrtc/simplewebrtc.js > js/simplewebrtc/bundled.js - create-tag: git tag -a v$(version) -m "Tagging the $(version) release." git push origin v$(version) @@ -78,9 +69,6 @@ appstore: --exclude=.jscsrc \ --exclude=.jshintignore \ --exclude=js/**.js.map \ - --include=js/simplewebrtc/bundled.js \ - --exclude=js/simplewebrtc/*.js \ - --exclude=js/tests \ --exclude=l10n/no-php \ --exclude=.l10nignore \ --exclude=Makefile \ |