Skip to content

Commit

Permalink
Merge pull request #47794 from Expensify/Rory-HotReloadRNLMD
Browse files Browse the repository at this point in the history
[No QA] Enable hot-reload for react-native-live-markdown
  • Loading branch information
roryabraham authored Aug 23, 2024
2 parents d6b7bd8 + e05e845 commit 28fbed6
Show file tree
Hide file tree
Showing 5 changed files with 4,532 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,6 @@ web-build/

# Storage location for downloaded app source maps (see scripts/symbolicate-profile.ts)
.sourcemaps/

# Jeykll
docs/.bundle
4 changes: 2 additions & 2 deletions config/webpack/webpack.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ const getConfiguration = (environment: Environment): Promise<Configuration> =>
snapshot: {
// A list of paths webpack trusts would not be modified while webpack is running
managedPaths: [
// Onyx can be modified on the fly, changes to other node_modules would not be reflected live
/([\\/]node_modules[\\/](?!react-native-onyx))/,
// Onyx and react-native-live-markdown can be modified on the fly, changes to other node_modules would not be reflected live
/([\\/]node_modules[\\/](?!react-native-onyx|@expensify\/react-native-live-markdown))/,
],
},
});
Expand Down
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
"jest-cli": "29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-transformer-svg": "^2.0.1",
"link": "^2.1.1",
"memfs": "^4.6.0",
"onchange": "^7.1.0",
"openai": "^4.47.2",
Expand Down
4,513 changes: 4,513 additions & 0 deletions patches/link+2.1.1.patch

Large diffs are not rendered by default.

0 comments on commit 28fbed6

Please sign in to comment.