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
As stated in title; because https://esm.sh can't build it properly as __dirname isn't implemented in esm so it makes it impossible for it to properly work. If you don't consider moving to esm, atleast consider putting injection.html as a string, save it to a js file as a string and export it, and then import it. Same for other files. This would fix it :)
Software details
Command line used for launching live-server:
OS:
Browser (if browser related):
Node.js version:
live-server version:
The text was updated successfully, but these errors were encountered:
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
As stated in title; because https://esm.sh can't build it properly as
__dirname
isn't implemented in esm so it makes it impossible for it to properly work. If you don't consider moving to esm, atleast consider putting injection.html as a string, save it to a js file as a string and export it, and then import it. Same for other files. This would fix it :)Software details
live-server
:live-server
version:The text was updated successfully, but these errors were encountered: