优化工作流

This commit is contained in:
dengtongyu committed 2018-11-15 16:59:28 +08:00
1 parent b7c0e5e2ac
commit 3c07f2fd30
15 files changed
+442 -34

No files matched your search

+3 -1
View File
@@ -34,8 +34,10 @@ exports.init = (type, paths, command) => {
exports.dev = (paths, command) => {
_paths = paths;
_configJson = util.configJson(_paths.targetPath);
if(_configJson.template == 'react') {
webpackConfig.run(paths, command);
webpackConfig.run(paths, command);
}
}