Skip to content

Commit

Permalink
fixup! Leave only 1 tsconfig, build only ES6/ES2015 version
Browse files Browse the repository at this point in the history
  • Loading branch information
denieler committed Jan 29, 2019
1 parent ea3bf4f commit 6f9bbad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ const compile = function(config) {
const args = []

log(`Building ${packageJson.name}:${packageJson.version}`)
log(`Setting output to: ${yargs.config}`, 'green')

function build() {
const cmd = `${tscPath} -p ${tsConfig} ${args.join(' ')}`
const cmd = `${tscPath} -p tsconfig.json ${args.join(' ')}`
exec(cmd)
log(`Build ready in: ${config.compilerOptions.outDir}`, 'green')
}
Expand Down

0 comments on commit 6f9bbad

Please sign in to comment.