Paweł Gulbinowicz

Results 107 comments of Paweł Gulbinowicz

I'm not so sure myself. I would start without HMR for simplicity and make it work without it first. My worry is that the strict ESM might not be supported...

Have you disabled CommonJS transform in Babel config? Assuming you're using `babel-loader`?

Yeah, I want to at least have an official documentation for it and look into seeing if I can get HMR to work with it.

Based on initial testing it looks like upcoming version `3.x` of Re.Pack supports projects with strict ESM mode.

The ESM as far as I understand in Webpack is scoped, so because `WebpackHMRClient.ts` is not ESM it can use `module.hot`. Packages and code that are ESM, have to use...

> When I run "npx react-native webpack-bundle", I get the error: > > error The "path" argument must be of type string. Received undefined You're missing `--platform`, `--entry-file` and `--bundle-output`...

After investigating the issue, the crash is caused by `react-native-svg` itself in release mode. Debug works just fine. Adding missing proguard rule and marking `react-native-svg` as `nohoist` doesn't solve the...

`react-native-svg` throws the same error with RN 0.66 (tested on #106).

The plan is to add at some point `init` command to Re.Pack CLI which would create `webpack.config.js` and migrate whatever files necessary. But that's a plan for the future and...

Could you update `@callstack/repack` to `3.0.0-next.5` and try again? If the problem persists, open this URL - http://localhost:8081/api/android/assets then copy & paste the body here.