Comments (3)
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.
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.
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)
- @rnx-kit/react-native-auth causes yarn android to fail. HOT 4
- react-native-host: add Windows support
- react-native-host: add macOS support
- create an RFC to discuss the idea of RN based WebAPIs HOT 1
- make a working prototype of a WebAPI to pair with the RFC
- figure out a prioritised list of WebAPIs to work on first post-RFC HOT 3
- improve the rnx-kit CLI generator to have a scope for webapis new packages
- Suggestion: Flag unused imports after inlining platform checks
- Dependency Manager Customizations HOT 1
- Error: Unable to resolve module ./ on bun + babel-plugin-module-resolver + metro-resolver-symlinks HOT 1
- New @rnx-kit/align-deps profil for [email protected]
- 404 Not Found when running npx rnx-align-deps HOT 1
- treeShaking causing a crash with react-native-reanimated HOT 9
- Enable pnpm mode to catch issues earlier
- build faild: No matching export in for import HOT 6
- `bundleRoot` ignored on apple HOT 1
- react-native-host does not render when new arch is enabled HOT 2
- align-deps: add support for grouping log lines on CI
- Importing files outside root directory while using metro-plugin-typescript HOT 10
- align-deps: new flag to not throw an error for exact dependencies that are within bounds HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rnx-kit.