Skip to content

Commit 1b697c8

Browse files
committed
fix: tailwind cmd error.
1 parent aeee662 commit 1b697c8

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/index.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,9 @@ const server = http.createServer(async (req, res) => {
181181
}
182182
});
183183

184-
const css_command = `npx tailwindcss -c tailwind.config.js -o ${normalizePath(
184+
const css_command = `npx tailwindcss -c tailwind.config.js -o "${normalizePath(
185185
join(config["build-directory"], "/bundle.css")
186-
)}`;
187-
188-
console.log({ css_command });
186+
)}"`;
189187

190188
function buildCSS() {
191189
return new Promise((resolve) => {

0 commit comments

Comments
 (0)