2.4.0 • Published 10 months ago
@codaline-io/parcel-optimizer-replace-envs v2.4.0
Parcel v2 Optimizer to replace process.env
s
- reads
.env
file whenNODE_ENV
!==production
, defaultprocess.cwd() + '.env'
(full path can be overwritten by settingDOTENV_FILE
- how ironic :D) - replaces occurences of
process.env.X
with the value
How it works
- somehow hacky, because as an optimizer it just uses a dumb regex to replace all
process.env
with its values
2.3.0
10 months ago
0.2.1
11 months ago
2.4.0
10 months ago
0.2.0
11 months ago
0.2.2
10 months ago
0.1.0
2 years ago
0.0.2
2 years ago
0.0.1
3 years ago
0.0.1-beta.3
3 years ago
0.0.1-beta.2
3 years ago
0.0.1-beta.1
3 years ago
0.0.1-beta.0
3 years ago