8000 redwood/docs/builds.md at v0.2.2 · dominicchapman/redwood · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 531 Bytes

builds.md

File metadata and controls

21 lines (13 loc) · 531 Bytes

Builds

API

The api side of Redwood is transpiled by Babel into the ./api/dist folder.

steps on Netlify

To emulate Netlify's build steps locally:

yarn rw build api
cd api
yarn zip-it-and-ship-it dist/functions/ zipballs/

Each lambda function in ./api/dist/functions is parsed by zip-it-and-ship-it resulting in a zip file per lambda function that contains all the dependencies required by for that lambda function.

Web

The web side of Redwood is packaged by Webpack into the ./web/dist folder.

0