2023-03-28 08:21:31 -05:00
|
|
|
fn main() {
|
|
|
|
let mut tailwind = std::process::Command::new("npx");
|
|
|
|
// tailwind.args([
|
|
|
|
// "-c",
|
|
|
|
// "tailwind.config.js",
|
|
|
|
// "-o",
|
|
|
|
// "src/index.css",
|
|
|
|
// "--minify",
|
|
|
|
// ]);
|
|
|
|
tailwind.args(
|
2023-03-29 07:43:39 -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();
|
|
|
|
}
|