Skip to content

Commit

Permalink
chore: hoist workspace packages to avoid workarounds in monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
jbroma committed Apr 3, 2024
1 parent 4d86c26 commit 245e2b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
auto-install-peers=false
auto-install-peers=false
hoist-workspace-packages=true
11 changes: 0 additions & 11 deletions packages/TesterApp/webpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,6 @@ export default (env) => {
alias: {
'react-native': reactNativePath,
},
/**
* Because Re.Pack is symlinked from it's workspace, we need to provide a fallback for
* `react-native-event-source` package used for lazyCompilation. This is not needed in
* normal projects.
*/
fallback: {
'react-native-event-source': path.join(
dirname,
'node_modules/react-native-event-source'
),
},
},
/**
* Configures output.
Expand Down

0 comments on commit 245e2b2

Please sign in to comment.