parcel-plugin-html
v1.0.22
Published
Adds `data-src` to the list of all attributes that may produce a dependency. Supported elements are `<script>`, `<img>`, `<audio>`, `<video>`, `<source>`, `<track>`, `<iframe>` and `<embed>`.
Downloads
6
Readme
Please note: The aproach I've used is very hacky 🙈 Please let me know, if you have a better solution.
📦 parcel-plugin-html
Adds data-src
to the list of all attributes that may produce a dependency. Supported elements are <script>
, <img>
, <audio>
, <video>
, <source>
, <track>
, <iframe>
and <embed>
.
Install
Make sure you have installed parcel before continuing.
yarn add --dev parcel-plugin-html
# or
npm install --save-dev parcel-plugin-html