10 lines
305 B
Rust
10 lines
305 B
Rust
fn main() {
|
|
let mut tailwind = std::process::Command::new("npx");
|
|
tailwind.args(
|
|
"tailwindcss -i src/index.css -c tailwind.config.js -o ../public/styles/tailwind.min.css --minify"
|
|
.split(" "),
|
|
);
|
|
tailwind.env("NODE_ENV", "production");
|
|
tailwind.spawn().unwrap();
|
|
}
|