Skip to content

Releases: crystalschang/gulp-env

Inline var setting + overwriting

12 Sep 16:50
Compare
Choose a tag to compare

vars can now be set inline. Props from files will be overwritten.

env({
  file: ".env.json",
  vars: {
    mad: "props"
  }
})

Test coverage + JSON handling

12 Sep 15:32
Compare
Choose a tag to compare

JSON was actually already handled, now it's explicit and has test coverage.

module route fix

12 Sep 00:49
Compare
Choose a tag to compare

updates require to specify files ../../ above them. Feels like a hack, but couldn't find anything built-in to handle it.

First Release

12 Sep 00:01
Compare
Choose a tag to compare

Attaches env vars to process.env from a filename.

this version only handles files that export the object:

module.exports = {
  ENV_VAR: "value"
}