diff --git a/README.en.md b/README.en.md index e87fa37..5d2ba25 100755 --- a/README.en.md +++ b/README.en.md @@ -73,6 +73,7 @@ NuxtjsFunc: inputs: functionName: nuxtjs-function region: ap-guangzhou + runtime: Nodejs8.9 code: ./ functionConf: timeout: 30 @@ -89,6 +90,8 @@ NuxtjsFunc: - [More Options](https://github.com/serverless-components/tencent-nuxtjs/blob/master/docs/configure.md) +> Notice: Now, `runtime` is default `Nodejs8.9`, for deployed project using `Nodejs8.9`, should set `runtime` to `Nodejs8.9` manually for updating. + ### 4. Deploy #### 4.1 Build static assets diff --git a/README.md b/README.md index 4d8c083..054c478 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ NuxtjsFunc: inputs: functionName: nuxtjs-function region: ap-guangzhou + runtime: Nodejs8.9 code: ./ functionConf: timeout: 30 diff --git a/example/serverless.yml b/example/serverless.yml index b44e1f3..8daedec 100644 --- a/example/serverless.yml +++ b/example/serverless.yml @@ -3,6 +3,7 @@ NuxtjsFunc: inputs: functionName: nuxtjs-function region: ap-guangzhou + runtime: Nodejs8.9 code: ./ functionConf: timeout: 30 diff --git a/src/index.js b/src/index.js index abff2a4..05eb388 100644 --- a/src/index.js +++ b/src/index.js @@ -8,7 +8,7 @@ const { bundler } = require('@ygkit/bundler') const pkg = require('../package.json') const DEFAULTS = { - runtime: 'Nodejs10.15', + runtime: 'Nodejs8.9', framework: 'nuxtjs' }