sinclairzx81 / typescript-bundle

A Bundling Tool for TypeScript
MIT License
126 stars 6 forks source link

target option seems to be ignored #8

Closed tim-we closed 5 years ago

tim-we commented 5 years ago

When I build a project using tsc-bundle src/test.ts --target es2018 --outFile dist/out.js it does not use the intended ES target for the bundle, instead the default is used. When building the project using tsc-bundle tsconfig.json (see below) the correct ES target is used.

tsconfig.json:

{
  "compilerOptions": {
    "target": "es2018",      
    "outFile": "dist/game.js"
  }
}
sinclairzx81 commented 5 years ago

Hi, Thanks !!

Have just pushed a patch for this issue. If you update to typescript-bundle@1.0.13 via npm this should be resolved.

Many Thanks S

sinclairzx81 commented 5 years ago

Will close off this issue, thanks for letting me know. If you run into any problems with the patch, happy to reopen and address. Thanks again. S