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
Hello,
This is probably not an issue with inline-source itself, and more of me not understanding the CLI well enough. But I have an index.html file in my dist folder with a script with the inline attribute. I would like to run the inline-source command on this index.html and replace it exactly, except with the script now inlined.
I tried running: cat ./index.html | inline-source --root ./ > ./index.html but this just empties the index.html file.
Could you provide a little guidance?
Thank you.
The text was updated successfully, but these errors were encountered:
zbayoff
changed the title
Running inline-source command removes contents of file.
Running inline-source command on file removes contents of file.
Feb 12, 2019
Hello,
This is probably not an issue with inline-source itself, and more of me not understanding the CLI well enough. But I have an index.html file in my dist folder with a script with the inline attribute. I would like to run the inline-source command on this index.html and replace it exactly, except with the script now inlined.
I tried running:
cat ./index.html | inline-source --root ./ > ./index.html
but this just empties the index.html file.Could you provide a little guidance?
Thank you.
The text was updated successfully, but these errors were encountered: