We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b1a19 commit c21facbCopy full SHA for c21facb
1 file changed
src/index.ts
@@ -185,11 +185,14 @@ const css_command = `npx tailwindcss -c tailwind.config.js -o ${normalizePath(
185
join(config["build-directory"], "/bundle.css")
186
)}`;
187
188
+console.log({ css_command });
189
+
190
function buildCSS() {
- return new Promise((resolve, reject) => {
191
+ return new Promise((resolve) => {
192
exec(css_command, (err, _stdout, _stderr) => {
193
if (err) {
- reject("CSS compilation error:" + String(err));
194
+ console.error("CSS compilation error:", String(err));
195
+ resolve(undefined);
196
} else {
197
resolve(undefined);
198
}
0 commit comments