Commit c80db9ca authored by Jonathan's avatar Jonathan Committed by cinwell.li

fix : this didn't run on windows

parent 648c498f
......@@ -19,7 +19,7 @@ Object.keys(components).forEach(key => {
});
const paths = componentPaths.join(',');
const cli = `node_modules/.bin/cooking build -c ${paths} -p`;
const cli = path.join('node_modules', '.bin', 'cooking') + ` build -c ${paths} -p`;
execSync(cli, {
stdio: 'inherit'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment