Coder Social home page Coder Social logo

Comments (7)

mikemorton avatar mikemorton commented on May 31, 2024

I narrowed this down a little bit. The first problem I found was that my txconfig.json file was not being parsed until after the compiler had been determined using the query parameters to the 'loader' option in the webpack.config.js. So it was still using the original typescript instead of ntypescript. I changed it to loader: 'awesome-typescript-loader?compiler=ntypescript&jsx=react&module=commonjs' and things progressed a little further.

Now my problem is that I get the following error: Error: no output found for C:\MyProject\Reactor\Reactor\app\components\uitest.tsx

It seems this is happening because findResultFor in helpers doesn't have any way of accounting for tsx files.

from awesome-typescript-loader.

s-panferov avatar s-panferov commented on May 31, 2024

@mikemorton I'll look at this problem tomorrow morning (GMT+3)

from awesome-typescript-loader.

s-panferov avatar s-panferov commented on May 31, 2024

@mikemorton JSX support was published as v0.6.0. Please look at the example.

Also note that there is a bug with source-maps right now, I've sent the PR to the babel-loader to fix it.

from awesome-typescript-loader.

mikemorton avatar mikemorton commented on May 31, 2024

Awesome, thanks. I'll give this a test later day!

from awesome-typescript-loader.

s-panferov avatar s-panferov commented on May 31, 2024

@mikemorton ping

from awesome-typescript-loader.

mikemorton avatar mikemorton commented on May 31, 2024

Sorry, I didn't get a chance to try it out yesterday but I hope to again today...

from awesome-typescript-loader.

s-panferov avatar s-panferov commented on May 31, 2024

@mikemorton I've tested this enough in my company to say that is works. So I close this. Feel free to reopen the issue if you find some troubles.

from awesome-typescript-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.