This tool builds amp-http-helper-frame.js
and amp-http-remote-frame.js
and copies it to Hiptic/OneSignal
's public/sdks/amp
directory so that all AMP web pages can use a globally distributed copy that can be easily updated.
yarn
to install packages- Clone
Hiptic/OneSignal
if you haven't side-by-side with this repocd ..; git clone [email protected]:Hiptic/OneSignal.git; cd amp-helper-files-builder
yarn dist
- Files will be updated your local
Hiptic/OneSignal
repo in the paths noted in thepackage.json
in this repo
For the HTTPS AMP helper see the following repo https://github.com/Hiptic/amp-helper-files-builder