1.1.3-cci-cdaf7af.0 • Published 12 months ago

edgeworker-joe-test v1.1.3-cci-cdaf7af.0

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

ott-sas-edgeworker

Provide rollup config and scripts to be able to run tests, build and deploy edgeworker code

Installation

yarn add @sky-uk-ott/ott-sas-edgeworker -D

Package Edgeworker

This will use a common rollup config and packages to be able to bundle the application and create the zip file that is needed to be uploaded to Akamai.

Add the following script command to the package.json:

{
  "name": "edgeworker-name-here",
  "description": "Description on the edgeworker function",
  "scripts": {
    "package": "package-edgeworker",
  }
}

Add *.tgz to your .gitignore otherwise the bundled edgeworker code will be commited.