1.0.8 • Published 6 years ago

@kloudsoftware/parcel-plugin-url v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago