⚠ Work in Progress ⚠️
There's more to document here. In the meantime, you can check our community forum for answers.
Want to contribute? Redwood welcomes contributions and loves helping people become contributors. You can edit this doc here. If you have any questions, just ask for help! We're active on the forums and on discord.
The api side of Redwood is transpiled by Babel into the
Steps on Netlify
To emulate Netlify's build steps locally:
yarn rw build 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 for that lambda function.
@netlify/zip-it-and-ship-itpackage needs to be installed as a dev dependency in
api/. Use the command
yarn workspace api add -D @netlify/zip-it-and-ship-it.
The web side of Redwood is packaged by Webpack into the