Merged
Conversation
708c467 to
b0fda39
Compare
4baadb1 to
1de7a33
Compare
easymikey
reviewed
Dec 24, 2024
1e9y
reviewed
Dec 24, 2024
src/util.ts
Outdated
Comment on lines
+363
to
+368
| const kr = /^[a-zA-Z_]+\w*$/ | ||
| const sr = /\s/ | ||
| const e: Record<string, string> = {} | ||
| let k = '' | ||
| let b = '' | ||
| let q = '' |
Contributor
There was a problem hiding this comment.
Why not use more readable variable names?
Collaborator
Author
There was a problem hiding this comment.
Just a minification challenge without any special reason.
(s)pace(r)egex
(k)ey(r)egex
(e)nv
(k)ey
(b)uffer
(q)oute
(i)gnore
(c)har
Contributor
There was a problem hiding this comment.
Lets make it contributor-friendly and leave minification for Vite plugin!
Collaborator
Author
|
dotenv requires ~10Kb extra
cjs without treeshaking |
Collaborator
|
I’m against adding support for this feature. |
Collaborator
Author
|
I'm afraid, it's dotenv format requirement: |
easymikey
reviewed
Dec 25, 2024
src/vendor-core.ts
Outdated
| export { default as chalk, type ChalkInstance } from 'chalk' | ||
| export { default as which } from 'which' | ||
| export { default as ps } from '@webpod/ps' | ||
| export { parse as parseDotenv } from 'envapi' |
Contributor
There was a problem hiding this comment.
Cool, нou've put it in a separate package :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

continues #974
relates #461
fyi, @1e9y , @easymikey