Skip to content

Commit

Permalink
Merge pull request #179 from franciscocpg/examples-minor-improvements
Browse files Browse the repository at this point in the history
Examples minor improvements
  • Loading branch information
HyperBrain authored Aug 3, 2017
2 parents 1a116f4 + a7045b2 commit cf51110
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/babel-dynamically-entries/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

functions:
first:
Expand Down
2 changes: 1 addition & 1 deletion examples/babel-multiple-statically-entries/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

functions:
first:
Expand Down
2 changes: 1 addition & 1 deletion examples/babel/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

functions:
hello:
Expand Down
2 changes: 1 addition & 1 deletion examples/include-external-npm-packages/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

custom:
webpackIncludeModules: true # enable auto including modules
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple-statically-entries/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

functions:
first:
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins:

provider:
name: aws
runtime: nodejs4.3
runtime: nodejs6.10

functions:
hello:
Expand Down
5 changes: 3 additions & 2 deletions examples/typescript/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
var path = require('path');
const slsw = require('serverless-webpack');

module.exports = {
entry: './handler.ts',
entry: slsw.lib.entries,
output: {
libraryTarget: 'commonjs',
path: path.join(__dirname, '.webpack'),
filename: 'handler.js'
filename: '[name].js'
},
target: 'node',
module: {
Expand Down
5 changes: 3 additions & 2 deletions examples/typescript/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ glob-parent@^2.0.0:
dependencies:
is-glob "^2.0.0"

glob@^7.0.5:
glob@^7.0.5, glob@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
dependencies:
Expand Down Expand Up @@ -1801,12 +1801,13 @@ [email protected]:
send "0.15.3"

"serverless-webpack@file:../../":
version "2.0.0"
version "2.2.0"
dependencies:
bluebird "^3.4.0"
body-parser "^1.15.2"
express "^4.14.0"
fs-extra "^0.26.7"
glob "^7.1.2"
lodash "^4.17.4"
npm-programmatic "0.0.5"
ts-node "^3.2.0"
Expand Down

0 comments on commit cf51110

Please sign in to comment.