优化工作流
This commit is contained in:
1 parent
b7c0e5e2ac
commit
3c07f2fd30
15 files changed
+442
-34
No files matched your search
+3
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user