Parcel plugin that interpolates ENV in HTML files
npm install parcel-plugin-interpolate-htmlParcel plugin that interpolates ENV in HTML files
yarn add --dev parcel-plugin-interpolate-html
or npm i -d parcel-plugin-interpolate-html
_Attention: parcel-bundler has to be installed_
There is no need to enable the plugin in any configuration file. If you want to use it you can do so after installing.
You have to escape the ENV with %% around it e.g. %example%.
_index.html_
```
_.env_
``
title=Example
_run it_
parcel index.html
_output_
```