build
build copied to clipboard
Netlify Build (node process) runs the build command, Build Plugins and bundles Netlify Functions. Can be run in Buildbot or locally using Netlify CLI
In an effort to support future UI work in app.netlify.com, we need to allow for plugins to output logs. These logs will: - Be consumed by netlify UI - Be...
The `PUBLISH_DIR` constant reflects the "publish" directory as set in `netlify.toml` or in the UI build settings. When unset, it defaults to the build directory. However, when set, it is...
We need a utility method for dealing with Netlify redirects To `get`, `set`, and `delete` redirects from `_redirects` file or from Netlify config file. An example of `set` can be...
We surface plugin errors in the UI ("plugins error statuses"), i.e. not only in the build logs. We should also show the following specific error types in the UI: -...
The main process can experience issues communicating with Build plugins child processes when one of the following happens: - the Build plugin process aborted (bug in the plugin) - there...
The deploy core plugin currently uses plain TCP + JSON. We should migrate it to gRPC. It might be good to do this separately from implementing the new flow between...
#### Summary When printing the list of bundled functions, Netlify Build uses zip-it-and-ship-it's `listFunctions` method, which includes functions that have not been bundled due to a naming conflict (e.g. when...
We should extract the plugin validation logic to its own package so that plugin authors can use to validate their plugins before publishing. What do you think?
This is a follow-up on #227 and #18. We want to allow bundles/presets of plugins. The last solution we had was to allow plugins to return an array of objects...
Many Build plugins use environment variables as inputs. Some because the value is confidential, others like to choice to either environment variables or inputs to users. At the moment, our...