TypeStrong / grunt-ts

A grunt task to manage your complete typescript development to production workflow
https://www.npmjs.com/package/grunt-ts
MIT License
330 stars 121 forks source link

Question: Is it possible to override outFile command from loaded tsconfig #409

Closed yordan-kanchelov closed 6 years ago

yordan-kanchelov commented 7 years ago

Hello, guys. I bumped in some trouble loading a tsconfig and then for different builds trying to change the out ( outFile ) destination through grunt-ts. Is it possible to be done?

I want to do something like that

        debug: {
            tsconfig: './tsconfig.json',
            out: "./debug",
        },
        release: {
            tsconfig: './tsconfig.json',
            out: "./release",
        }

Thanks in advance for the help.

AHaberl commented 7 years ago

+1

nycdotnet commented 6 years ago

Hi - sorry for not responding sooner. This is how this is intended to work, and I believe this is a bug.

nycdotnet commented 6 years ago

Should be fixed in v6.0.0-beta.19

nycdotnet commented 6 years ago

Thanks for the report - this was a stupid copy and paste bug and I didn't have a test for the expected behavior.