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