Skip to content
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

Examples minor improvements #179

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/babel-dynamically-entries/serverless.yml
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
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
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
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
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
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
@@ -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
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 @@ serve-static@1.12.3:
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