-
Notifications
You must be signed in to change notification settings - Fork 415
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1922 from serverless-heaven/fix/update-examples
Update all examples
- Loading branch information
Showing
30 changed files
with
33,561 additions
and
42,586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,13 @@ | |
"author": "Nicola Peduzzi <[email protected]> (http://nikso.net)", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@babel/core": "^7.10.5", | ||
"@babel/plugin-transform-runtime": "^7.10.5", | ||
"@babel/preset-env": "^7.10.4", | ||
"babel-loader": "^8.1.0", | ||
"babel-plugin-source-map-support": "^2.1.2", | ||
"serverless": "^1.77.1", | ||
"serverless-offline": "^6.5.0", | ||
"@babel/core": "^7.25.2", | ||
"@babel/plugin-transform-runtime": "^7.25.4", | ||
"@babel/preset-env": "^7.25.4", | ||
"babel-loader": "^9.1.3", | ||
"babel-plugin-source-map-support": "^2.2.0", | ||
"serverless": "^3.39.0", | ||
"serverless-webpack": "file:../..", | ||
"webpack": "^4.44.1" | ||
"webpack": "^5.94.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11,054 changes: 4,586 additions & 6,468 deletions
11,054
examples/babel-multiple-statically-entries/yarn.lock
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "12" | ||
"node": "20" | ||
} | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
This is the default babel webpack-4 example to look at, because only dynamic | ||
This is the default babel webpack-5 example to look at, because only dynamic | ||
entry point resolution lets you use Serverless completely. | ||
Individual packaging with a per-function dependency optimization is only | ||
available with that approach. | ||
|
||
You can also try to invoke a function locally: | ||
You can try to invoke a function locally: | ||
``` | ||
serverless invoke local --function=first --path=./event.json | ||
``` | ||
|
||
Also it has a [.vscode/launch.json](.vscode/launch.json) file for debugging the | ||
functions using `vscode`. | ||
functions using `vscode`. |
Oops, something went wrong.