Skip to content

Commit 1f160e1

Browse files
authored
Merge pull request #12 from svnldwg/bref-seperate-vendor
uses new bref option to upload vendor separately
2 parents 624e493 + e0f2779 commit 1f160e1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

config/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
declare(strict_types=1);
44

5-
require_once __DIR__ . '/../vendor/autoload.php';
5+
require_once '/tmp/vendor/autoload.php';

serverless.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ provider:
1313
throttle:
1414
burstLimit: 20
1515
rateLimit: 10
16+
environment:
17+
foo: 1
1618

1719
plugins:
1820
- ./vendor/bref/bref
@@ -60,6 +62,10 @@ resources:
6062
Properties:
6163
TopicName: triggerFunction-${opt:stage}
6264

65+
custom:
66+
bref:
67+
separateVendor: true
68+
6369
# Exclude files from deployment
6470
package:
6571
exclude:

0 commit comments

Comments
 (0)