Parse HTML file, find file links, and add files to stream #2706
Unanswered
BlackxSnow
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing solution to perform the titular process? I'm looking to recreate webpack's html-loader / HTMLWebpackPlugin functionality to only process and build files (media, in particular) that are used.
I'm currently attempting to filter the files before passing them to gulp-rev, but I haven't found any plugin to extract asset references from html / php files.
Beta Was this translation helpful? Give feedback.
All reactions