ffxsam
April 6, 2019, 6:47pm
1
It’s strange that serverless is still using old versions of libraries (webpack 3, serverless-webpack 3.x). serverless-webpack 5.x is available! Why are we using these outdated versions still?
Enase
April 10, 2019, 7:07pm
2
ffxsam
April 10, 2019, 7:21pm
3
Sorry, I should’ve clarified: it’s only for certain templates.
{
"name": "aws-nodejs-ecma-script",
"version": "1.0.0",
"description": "Serverless webpack example using ecma script",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.6.0",
"serverless-webpack": "^3.1.1",
"webpack": "^3.3.0"
},
"author": "The serverless webpack authors (https://github.com/elastic-coders/serverless-webpack)",
"license": "MIT"
}