Skip to content

Add build.edge_handlers configuration property #1821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ehmicky opened this issue Sep 17, 2020 · 1 comment · Fixed by #1829
Closed

Add build.edge_handlers configuration property #1821

ehmicky opened this issue Sep 17, 2020 · 1 comment · Fixed by #1829
Labels
project:edge-handlers-support type: feature code contributing to the implementation of a feature and/or user facing functionality

Comments

@ehmicky
Copy link
Contributor

ehmicky commented Sep 17, 2020

Based on https://github.com/netlify/pod-the-builder/issues/51

We should add a build.edge_handlers configuration property.

[build]
edge_handlers = "src/my-edge-handlers"

This configuration property should default to ./edge-handlers. Paths are handled like other file paths in netlify.toml, e.g. relative paths are relative to the build directory.

The file path, after being normalized like the build.functions path is, should be passed to plugins as constants.EDGE_HANDLERS_SRC.

@ehmicky
Copy link
Contributor Author

ehmicky commented Sep 18, 2020

Done in #1828 and #1829.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project:edge-handlers-support type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant