I'm using the serverless framework with the serverless-webpack plugin, and whenever I run sls deploy, I'm getting the following warning in yellow:
Serverless: WARNING: Could not determine version of module babel-runtime
Serverless: WARNING: Could not determine version of module babel-runtime
Serverless: WARNING: Could not determine version of module babel-runtime
Does anyone know how to handle these? I coulnd't find any information about it.
Thanks.
My solution was to have the following in my .babelrc
"transform-runtime":{
"corejs": false,
},
You can also play around with these options:
"transform-runtime":{
"absoluteRuntime": false,
"corejs": false,
"helpers": true,
"regenerator": true,
"useESModules": false
},
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.