Haojun Tian
Haojun Tian
> You can pass a string to `server.open` to point to the network url. how to do that? I could not find any api in 'https://github.com/sindresorhus/open' to satisfy.
> It's in the Vite docs: https://vitejs.dev/config/server-options.html#server-open > > ```js > server: { > open: 'http://10.23.44.14:8080/' > } > ``` I can't do this cause its a public project and...
> I'll re-open for now if anyone has ideas to supporting this. We usually avoid adding new options unless if there's a large usecase. I'm thinking maybe we can flip...
> `http://localhost:5173` [is considered secure](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts#:~:text=Locally%2Ddelivered%20resources%20such%20as%20those%20with%20http%3A//127.0.0.1%20URLs%2C%20http%3A//localhost%20and%20http%3A//*.localhost%20URLs%20(e.g.%20http%3A//dev.whatever.localhost/)%2C%20and%20file%3A//%20URLs%20are%20also%20considered%20to%20have%20been%20delivered%20securely.) but `http://10.x.x.x:5173` are not (the article only mentions about Firefox, but Chrome work the same). This could be a problem. > > BTW why does...
plz notice me once the issue is resolved.
> The following method should solve the problem, e.g: > > ```js > // vite.config.js (e.g) > const { getBabelOutputPlugin } = require('@rollup/plugin-babel'); > > export default { > build:...