Skip to content

Commit

Permalink
fix: make default runtime to Nodejs8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
yugasun committed Mar 27, 2020
1 parent 84a5a09 commit a578e5a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ NuxtjsFunc:
inputs:
functionName: nuxtjs-function
region: ap-guangzhou
runtime: Nodejs8.9
code: ./
functionConf:
timeout: 30
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ NuxtjsFunc:
inputs:
functionName: nuxtjs-function
region: ap-guangzhou
runtime: Nodejs8.9
code: ./
functionConf:
timeout: 30
Expand Down
1 change: 1 addition & 0 deletions example/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NuxtjsFunc:
inputs:
functionName: nuxtjs-function
region: ap-guangzhou
runtime: Nodejs8.9
code: ./
functionConf:
timeout: 30
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { bundler } = require('@ygkit/bundler')
const pkg = require('../package.json')

const DEFAULTS = {
runtime: 'Nodejs10.15',
runtime: 'Nodejs8.9',
framework: 'nuxtjs'
}

Expand Down

0 comments on commit a578e5a

Please sign in to comment.