0.0.3 • Published 8 months ago

parcel-transformer-inject-firebase-options v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

parcel-transformer-inject-firebase-options

A plugin to inject options of the current Firebase application to initializeApp().

Usage

Install the package and Firebase CLI as dev dependencies.

pnpm add --dev parcel-transformer-inject-firebase-options firebase-tools

.parcelrc

{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{js,mjs,jsm,jsx,es6,cjs,ts,tsx}": [
      "parcel-transformer-inject-firebase-options",
      "..."
    ]
  }
}

If your built code does not have any changes, pass --no-cache option to Parcel.