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 55c8a08 commit 49009bcCopy full SHA for 49009bc
generator/index.js
@@ -37,6 +37,7 @@ function generateConfig(option) {
37
}
38
const { spawnSync } = require('child_process');
39
const tailwind = path.resolve('./node_modules/.bin/tailwind');
40
+ if (!fs.existsSync(tailwind)) throw new Error(`${tailwind} not found`);
41
spawnSync(tailwind, args, { shell: process.platform === 'win32' });
42
43
0 commit comments