0.1.1 • Published 3 years ago
build-plugin-rax-faas v0.1.1
build-plugin-rax-faas 
build-scripts plugin for FaaS, the plugin based on Function Compute of Alibaba cloud.
The plugin support following features:
- Integrated development experience, All codes are in the same directory
- The easy way to run devServer in the local
- The easy way to build client code and functions package
Usage
Dependencies
build-plugin-rax-faas based on Function Compute of Alibaba cloud, so you need install docker and @alicloud/fun first:
About docker instructions of installation, you can found in the docker docs.
Then install @alicloud/fun to your devDependencies:
$ npm install @alicloud/fun -DAnd you need install build-plugin-rax-faas to your devDependencies:
$ npm install build-plugin-rax-faas -DConfigure
Add build-plugin-rax-faas to build.json like:
{
"plugins": [
[
"build-plugin-rax-app",
{
"targets": ["web", "weex"]
}
],
[
"build-plugin-rax-faas",
{
"aliyunConfig": { // Your function compute config
"id": "xxxxxxxx",
"region": "cn-hangzhou"
},
"functionGroup": {
"name": "raxTest",
"root": "src/api", // The functions dir
"functions": {
"user": {
"path": "user" // The function path relative to root config
}
}
}
}
]
]
}0.1.1-beta.9
3 years ago
0.1.1-beta.2
4 years ago
0.1.1-beta.1
4 years ago
0.1.1-beta.6
4 years ago
0.1.1-beta.5
4 years ago
0.1.1-beta.4
4 years ago
0.1.1-beta.3
4 years ago
0.1.1-beta.8
4 years ago
0.1.1-beta.7
4 years ago
0.1.1
6 years ago
0.1.0
6 years ago