Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.

Commit

Permalink
Fix outputFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Weakky committed Mar 15, 2019
1 parent 3a5ad38 commit 5d475ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/yoga/src/cli/commands/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function useEntryPoint(
const indexFile = renderIndexFile(ejectFilePath)
const indexFilePath = path.join(path.dirname(ejectFilePath), 'index.ts')

outputFile(indexFile, indexFilePath, config.options, info)
outputFile(indexFilePath, indexFile, config.options, info)
}

export function writeEjectFiles(
Expand Down Expand Up @@ -123,8 +123,8 @@ function transpileModule(
}

function outputFile(
fileContent: string,
filePath: string,
fileContent: string,
compilerOptions: ts.CompilerOptions,
info: ConfigWithInfo,
) {
Expand Down

0 comments on commit 5d475ee

Please sign in to comment.