You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove static file tags from index.html when "Update Dev-Environment" #65
Just as "nice to have" feature
When then index.html is generated it puts in [script, link] tags to files [js, css] that aren't available and leads to errors in the browser dev console.
I'm also using [suspend, lazy etc] which creates many more files.
It would nice if the generate process could just exclude these files.
So I see there is already code for this to work, however it's matching id='rp-rea... where most of mine are double quote id="rp-rea.... Maybe it's a theme output thing ¯\_(ツ)_/¯
I think it's probably something better handled with the dom.
This works for me.
Activity
dylanlawrence commentedon Oct 24, 2024
So I see there is already code for this to work, however it's matching
id='rp-rea...where most of mine are double quoteid="rp-rea.... Maybe it's a theme output thing ¯\_(ツ)_/¯I think it's probably something better handled with the dom.
This works for me.
reactpress/admin/Controller.php #207
BlairCooper commentedon Jan 29, 2025
Another option might be replace strpos() with a regular express match.