Functions to support apps on Netlify

Usage no npm install needed!

<script type="module">
  import weworkNetlifyFunctions from 'https://cdn.skypack.dev/@wework/netlify-functions';


Netlify Functions

Lambda functions to support Netlify apps.


yarn build


Turns the running Split Test off and on again. Run this after every successful deploy. This ensures that the latest code is served in the split. This is currently necessary to get around a shortcoming of the Split Test feature, which will likely be fixed when the feature comes out of beta:

There is a condition right now that means you have to disable and re-enable the split test if you want to update the deploy it is serving (e.g. you start the test, update master, must stop+start to get the new master served). - Chris (Netlify Support)