Cédric Eberhardt

Results 35 comments of Cédric Eberhardt

We have the same issue here. The NODE_ENV=production doesn't set `import.meta.env.PROD` to `true`, unlike with Vite 2.

Unfortunately no. But I think I've found the change (not sure it's an issue though). We use Node workspaces but the run script, the vite config file and the .env...

Wow, it was not clear for me that `vite build --mode production` would switch to `PROD` without the `.env` file. I always found weird that `vite build` switched to `DEV`...

So `vite dev` gives `COMMAND == "serve"`. That's how to make it even more confusing, imho.

Using `gulp.src('./')` solved my problem about getting files content.

Good catch, from: ```rust use serde::Deserialize; #[derive(Debug, Deserialize)] struct FormData { text: Option, number: Option, } fn main() { println!( "{:#?}", serde_urlencoded::from_str::("text=baguette&number") ); } ``` it fails with ``` Err(...

I very quickly checked, and Rocket seems to use https://crates.io/crates/form_urlencoded. Few weeks ago I used Rocket (master, so v0.5) instead of Actix with the exact same forms and it worked...

I understand and agree that this behaviour is correct from a query parser point of view: `text&number=32` should not produce `text: None`. Maybe the lib implementation is correct if you...

Cool, happy to see that moving forward. And thanks for the workaround, I'll try that.

Hey. Ok, looks like it helps me continue. Thanks. How can we help here by the way?