Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • If that's the case, then how do i could build this project with webpack.config.ts file Commented Oct 30, 2016 at 8:00
  • One way is to just run tsc manually and load the resulting .js file. I updated my answer to include another potential way using ts-node. This option is likely what you are looking for. Commented Oct 30, 2016 at 9:39
  • That worked! Is there a doc which talks about your updated answer? Commented Oct 30, 2016 at 10:17
  • No there is not. Took me a bit of digging through webpack source to figure it out. Commented Oct 30, 2016 at 10:32
  • 1
    There is now webpack documentation regarding config files in typescript: webpack.js.org/configuration/configuration-languages/… Commented Mar 15, 2019 at 10:32