Skip to content

Commit

Permalink
🔧 chore(config): 调整打包配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Feb 15, 2021
1 parent 70fd0da commit 3466542
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/foo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"scripts": {
"build": "father-build",
"test": "jest",
"cov": "jest --coverage"
"cov": "jest --coverage",
"clean": "rm -rf es lib dist build coverage .umi"
}
}
4 changes: 3 additions & 1 deletion packages/foo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"compilerOptions": {
"declaration": true,
"jsx": "react-jsx",
"skipLibCheck": true
"skipLibCheck": true,
/* 模块导入配置项 */
"esModuleInterop": true
}
}

0 comments on commit 3466542

Please sign in to comment.