Skip to content

Commit 5e2b371

Browse files
committed
fix #7
1 parent 8d4f9b5 commit 5e2b371

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generator/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ function generateConfig(option) {
3434
args.push('--full');
3535
}
3636
const { spawnSync } = require('child_process');
37-
spawnSync('./node_modules/.bin/tailwind', args);
37+
const tailwind = path.resolve('./node_modules/.bin/tailwind');
38+
spawnSync(tailwind, args, { shell: process.platform === 'win32'});
3839
}
3940

4041
module.exports = (api, options) => {

0 commit comments

Comments
 (0)