mirror of https://github.com/ElemeFE/element
fix : this didn't run on windows
parent
648c498fd9
commit
c80db9ca8a
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue