Expensify / react-native-live-markdown

Drop-in replacement for React Native's TextInput component with Markdown formatting.
https://www.npmjs.com/package/@expensify/react-native-live-markdown
MIT License
668 stars 45 forks source link

Package made using `yarn pack` does not contain `react-native-live-markdown-parser.js` #365

Open tomekzaw opened 1 month ago

tomekzaw commented 1 month ago

Error: Failed to initialize Markdown runtime

tomekzaw commented 1 month ago

Turns out that parser is a separate workspace defined in package.json. Most likely that's why parser/react-native-live-markdown-parser.json is not included.

When I remove parser from "workspaces" field in package.json, it works correctly.

Still no clue why it works correctly on CI.