Skip to content

Commit

Permalink
feat: bottom-up search file (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
harper yang authored and sorrycc committed Oct 15, 2019
1 parent 4ebe5c4 commit 01146fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/father-build/src/getRollupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,8 @@ export default function(opts: IGetRollupConfigOpts): RollupOptions[] {
// @see https://github.com/ezolenko/rollup-plugin-typescript2/issues/105
objectHashIgnoreUnknownHack: true,
cacheRoot: `${tempDir}/.rollup_plugin_typescript2_cache`,
// TODO: 支持往上找 tsconfig.json
// 比如 lerna 的场景不需要每个 package 有个 tsconfig.json
tsconfig: join(cwd, 'tsconfig.json'),
tsconfig: 'tsconfig.json',
tsconfigDefaults: {
compilerOptions: {
// Generate declaration files by default
Expand Down

0 comments on commit 01146fa

Please sign in to comment.