Skip to content

Commit

Permalink
Remove references to lambdas from repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcheatham committed Mar 6, 2020
1 parent 9a5c221 commit 278cd60
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ yarn

### `build`

Build the static files into the `public` folder, turns lambda functions into a deployable form.
Build the static files into the `public` folder

#### Usage

Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ It follows the [JAMstack architecture](https://jamstack.org) by using Git as a s
- Uses `gatsby-image` with Netlify-CMS preview support
- Separate components for everything
- Netlify deploy configuration
- Netlify function support, see `lambda` folder
- Perfect score on Lighthouse for SEO, Accessibility and Performance (wip:PWA)
- ..and more

Expand Down Expand Up @@ -48,8 +47,6 @@ $ yarn
$ netlify dev # or ntl dev
```

This uses the new [Netlify Dev](https://www.netlify.com/products/dev/?utm_source=blog&utm_medium=netlifycms&utm_campaign=devex) CLI feature to serve any functions you have in the `lambda` folder.

To test the CMS locally, you'll need to run a production build of the site:

```
Expand Down
17 changes: 0 additions & 17 deletions lambda/hello.js

This file was deleted.

4 changes: 0 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[build]
publish = "public"
command = "npm run build"
functions = "lambda"
[build.environment]
YARN_VERSION = "1.9.4"
YARN_FLAGS = "--no-ignore-optional"

0 comments on commit 278cd60

Please sign in to comment.