parcel-transformer-inject-firebase-options
v0.0.3
Published
A plugin to inject options of the current Firebase application to `initializeApp()`.
Downloads
7
Readme
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.