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

feat: create template on vite build and inject script tag #8

Merged
merged 6 commits into from
Jan 25, 2022

Conversation

lukashass
Copy link
Member

@lukashass lukashass commented Jan 24, 2022

BREAKING CHANGE: env-config.template.js will be generated during the vite build, provide the needed variables in vite.config.ts

Closes #2 and closes #3

@github-actions
Copy link

github-actions bot commented Jan 24, 2022

Coverage report

Total coverage

Status Category Percentage Covered / Total
🔴 Statements 54.55% 18/33
🟡 Branches 60% 12/20
🔴 Functions 33.33% 3/9
🔴 Lines 22.22% 10/45

Status of coverage: 🟢 - ok, 🟡 - slightly more than threshold, 🔴 - under the threshold

Report generated by 🧪jest coverage report action from 5d150e9

README.md Outdated Show resolved Hide resolved
src/envConfig.ts Show resolved Hide resolved
src/envConfig.ts Show resolved Hide resolved
src/envConfig.ts Show resolved Hide resolved
@lukashass lukashass merged commit 8e92ac5 into main Jan 25, 2022
@lukashass lukashass deleted the less-config branch January 25, 2022 18:00
@github-actions
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Inject script tag into index.html Generate env-config.template.js on vite build
2 participants