Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ViteStaticSite construct #1288

Merged
merged 3 commits into from
Jan 27, 2022
Merged

Add ViteStaticSite construct #1288

merged 3 commits into from
Jan 27, 2022

Conversation

fwang
Copy link
Contributor

@fwang fwang commented Jan 21, 2022

No description provided.

@fwang fwang added the enhancement New feature or request label Jan 21, 2022
@netlify
Copy link

netlify bot commented Jan 21, 2022

✔️ Deploy Preview for sst-console canceled.

🔨 Explore the source changes: c07580c

🔍 Inspect the deploy log: https://app.netlify.com/sites/sst-console/deploys/61f3173430115900085e432f

@fwang fwang merged commit e4f625b into master Jan 27, 2022
@fwang fwang deleted the vite-static-site branch January 27, 2022 22:05


```js title="src/App.js"
console.log(process.env.VITE_API_URL);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fwang nothing major, but I was just following through this and I think these are supposed to be import.meta.env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants