Skip to content

Commit

Permalink
Copy .babelrc file when create project
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Dec 1, 2016
1 parent 4ab16fd commit 541cbfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ let _copyWwwFiles = () => {
let name = commander.test ? 'package_test' : 'package';
copyFile(name + '.json', projectRootPath + '/package.json');

copyFile('.babelrc', projectRootPath + '/.babelrc');

let mode = 'normal';
if(think.mode === think.mode_module){
mode = 'module';
Expand Down

0 comments on commit 541cbfe

Please sign in to comment.