Git Product home page Git Product logo

Comments (3)

afoxman avatar afoxman commented on May 21, 2024

FURN helped uncover a few issues in the plugin. After making several rounds of fixes, I've gotten down to one core issue that can't be fixed.

FURN packages have a unique structure. Their module prop in package.json refers to a .ts source file, rather than a transpiled .js file with a .d.ts companion.

The Metro plugin runs tsc, which resolves package references using module and it expects to find a .d.ts file.

Since FURN bundling is done without running a build first, the .d.ts files are all missing.

tsc fails each module lookup, as a result.

I'm going to work on making improvements to the plugin before resuming this task.

from rnx-kit.

afoxman avatar afoxman commented on May 21, 2024

Draft PR out in FURN to address some of the type issues (required before type-checking can be enabled): microsoft/fluentui-react-native#1275.

from rnx-kit.

afoxman avatar afoxman commented on May 21, 2024

FURN is tracking this in their own repo now. They have two issues which must be fixed before type-safe bundling can be enabled:
microsoft/fluentui-react-native#1337
microsoft/fluentui-react-native#1338

from rnx-kit.

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.