Please note: The aproach I've used is very hacky 🙈 Please let me know, if you have a better solution.
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>
.
Make sure you have installed parcel before continuing.
yarn add --dev parcel-plugin-html
# or
npm install --save-dev parcel-plugin-html