1.0.8 • Published 5 years ago

@kloudsoftware/parcel-plugin-url v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

parcel-plugin-url

Adds the possibillty to set a url for reaching e.g. an api differently in prod and dev environments

How to use

  • run npm i -D @kloudsoftware/parcel-plugin-url
  • create an api.json file:
{
  "url": {
    "prod": "Production url here",
    "dev": "Dev url here"
  }
}
  • run your parcel as normal
  • when run with build, parcel will use the prod url, otherwise the dev url
  • you can bypass the config file with the CHROMSTAHL_URL environment variable
1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago