Skip to content

Commit 7741ae4

Browse files
committed
Fixed some exclusions and finish 2.0.3.1
1 parent 0bb11f1 commit 7741ae4

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.0.3.1] - 2020-05-04
8+
9+
### Fixed
10+
- Fixed bug with Serverless not excluding dev-dependencies and failing to deploy due to large file size
11+
- Fixed bug with Sharp binaries (Thanks @bs-thomas) (#63)
12+
713
## [2.0.3] - 2020-05-04
814

915
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test": "jest",
1111
"docs": "serve ./docs"
1212
},
13-
"version": "2.0.3",
13+
"version": "2.0.3.1",
1414
"private": false,
1515
"license": "MIT",
1616
"dependencies": {},

serverless.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ layers:
2525
retain: false
2626

2727
resources:
28-
Conditions:
28+
Conditions:
2929
CreateCertificate: !Not [!Equals ["${self:custom.settings.environment.CUSTOM_DOMAIN, ''}", ""]]
3030
Resources:
3131
CloudFrontDistribution:
@@ -75,6 +75,16 @@ resources:
7575
ValidationMethod: DNS
7676
functions:
7777
index:
78+
package:
79+
individually: true
80+
excludeDevDependencies: true
81+
browser: false
82+
exclude:
83+
- node_modules/**
84+
- docs/**
85+
- .idea/**
86+
- bin/darwin/**
87+
- coverage/**
7888
handler: src/index.handler
7989
layers:
8090
- {Ref: SharpLambdaLayer}

0 commit comments

Comments
 (0)