serverless-components / website

:zap: Instantly deploy static website on serverless infrastructure with zero configuration using Serverless Components.
https://serverless.com
Apache License 2.0
157 stars 49 forks source link

Serverless.yml env attribute #80

Open vtr-rivia opened 3 years ago

vtr-rivia commented 3 years ago

I've read the documents and it showed to me and attribute called env. Where are the env.js file after serverless deploy?

I'm using component: website vue-starter

vtr-rivia commented 3 years ago

That is my serverless.yml

org: vtroliveira
app: test
name: front
component: website

inputs:
  env:
    API_URL: ${cf:public-api-${stage}.ServiceEndpoint}
  src:
    src: ./src
    hook: npm run build
    dist: ./dist