Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Support tsconfig as file path #110

Closed
gauntface opened this issue Feb 13, 2018 · 0 comments · Fixed by #124
Closed

Support tsconfig as file path #110

gauntface opened this issue Feb 13, 2018 · 0 comments · Fixed by #124

Comments

@gauntface
Copy link

gauntface commented Feb 13, 2018

I'm working on a project that has Typescript code for browser and Node environments. Each have seperate tsconfig files.

The current logic looks like it searches for a tsconfig.json file in the current working directory, meaning I can't use a different config file in a subdirectory.

Would you be open to using tsconfig option as a boolean or string path?

plugins: [
      typescriptPlugin({
        tsconfig: path.join(__dirname, 'src', 'client', 'tsconfig.json'),
        typescript: require('typescript'),
      }),
    ],
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant