2023-03-28 08:21:31 -05:00
|
|
|
fn main() {
|
|
|
|
let mut tailwind = std::process::Command::new("npx");
|
|
|
|
tailwind.args(
|
2023-04-01 15:28:15 -05:00
|
|
|
"tailwindcss -i src/index.css -c tailwind.config.js -o ../public/styles/tailwind.min.css --minify"
|
2023-03-28 08:21:31 -05:00
|
|
|
.split(" "),
|
|
|
|
);
|
|
|
|
tailwind.env("NODE_ENV", "production");
|
|
|
|
tailwind.spawn().unwrap();
|
|
|
|
}
|