vite-plugin-terminal
vite-plugin-terminal copied to clipboard
Log in the node terminal from the browser
console.debug should be available. I've found people using it in sandboxes, causing terminal to throw stack traces. ![Screenshot 2022-07-21 02 59 43](https://user-images.githubusercontent.com/876076/180161901-e4db660d-8e38-43f1-9295-a68de9d4e246.png) Sandbox with PR applied: https://stackblitz.com/edit/vueschool-pinia-the-enjoyable-vue-store-qt7x5r?file=vite-plugin-terminal%2Fsrc%2Findex.ts After PR screenshots:...
terminal.log('Hello ', undefined) will crash the plugin with `property toString() does not exist in undefined`
Thanks for the useful lib Patak
Hi, i have 2 errors , one in browser console,and second when i try to build browser terminal: ![image](https://user-images.githubusercontent.com/66946113/159027907-edd78aaa-ea33-48d6-bfec-3d2860a5239d.png) and error for building ![image](https://user-images.githubusercontent.com/66946113/159028049-8b945e2f-19c6-401f-ac9e-feb01d5a7e1f.png) vite config: ```js envPrefix: "JOR_", resolve:...
We are using Vite with PHP. This plugin doesn't currently work as it tries to post to the domain the site is hosted on instead of localhost. After poking around...
This should fix #27
I see this package lists vite as a peer dep from v2 to v4. v5 has been out for a few weeks now, and it would be nice to have...
``` [vite] Internal server error: URI malformed ``` version: 1.1.0 ![image](https://github.com/patak-dev/vite-plugin-terminal/assets/15645831/3853ebe5-7d66-4773-9cac-3b4691c5344e) ![image](https://github.com/patak-dev/vite-plugin-terminal/assets/15645831/38e01dba-51bb-4f98-a1f6-4d8aec9c0f39) It seems like the coding method can't handle percent signs https://github.com/patak-dev/vite-plugin-terminal/blob/main/src/index.ts#L140C25-L140C25
When trying to print an object that has a circular structure, stringify() throws and error, breaking the app. Maybe something like Flatted.stringify() should be used instead of JSON.stringify()?
"decodeURI" method can't handle some special characters like '%', resulting in a "URI malformed" error.