repack icon indicating copy to clipboard operation
repack copied to clipboard

A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.

Results 133 repack issues
Sort by recently updated
recently updated
newest added

## Ask your Question I have 2 questions: 1. When I use ChunkManager.loadChunk('miniapp'), I received log: [DevServer@ios] Route GET:/undefined not found. Do I have a missing config somewhere? 2. I...

status:stale
type:question

## Environment Not related to the environment. ## Description Re.Pack v3 uses `listen(port, host)`, when the host is an empty string `''`, it leads fastify to listen on localhost. https://github.com/callstack/repack/blob/2b6469d599ef3bab94bbb326a2438478ffc7d3d0/packages/dev-server/src/createServer.ts#L108-L110...

```js new Repack.plugins.ReactRefreshPlugin({platform}), ``` If not set port will cause invalid URL port: ```sh ⚠ [09:13:21.864Z][LoggerPlugin] Warning in "undefined": DefinePlugin Conflicting values for '__PUBLIC_PORT__' ```

## Question I successfully set up my React native app v0.69 with Repack v3 and pnpm. I executed all the necessary steps that are here: https://re-pack.netlify.app/docs/getting-started. I can install the...

question

## Environment `"@callstack/repack": "^3.0.0"` `"react-native": "0.70.1"` node: v16.14.2 yarn: 1.22.19 ## Description App throws error when attempting to access react native inspector (cmd+d) -> 'Show Inspector' and no inspection tools...

## Environment React Native 0.69.5 ## Description Since upgrading to 3.0, the ScriptManager seems to fail to load scripts with the error of "cannot read property loadScript of undefined" ##...

## Describe the feature Support new React Native architecture. ## Motivation So that we can take advantage of React 18 features. ## Related Issues See https://reactnative.dev/docs/new-architecture-library-intro https://reactnative.dev/blog/2022/06/16/resources-migrating-your-react-native-library-to-the-new-architecture

https://github.com/callstack/repack/blob/2b6469d599ef3bab94bbb326a2438478ffc7d3d0/packages/repack/src/webpack/plugins/RepackPlugin.ts#L45 entryName dose not pass to used plugins

```js { //... entry: { base: [ ...Repack.getInitializationEntries(reactNativePath, { hmr: devServer && devServer.hmr, }), ], entry: './index' } ``` throw exception: ```sh HookWebpackError: Cannot infer entry chunk - this should...

use fileURLToPath function to get path of URL instead of .pathname (added in [v10.12.0](https://nodejs.org/dist/latest-v10.x/docs/api/url.html#url_url_fileurltopath_url)) fixes #219