Madd.is

Results 75 comments of Madd.is

@pavjacko So I hackily replace the webpack path with `doResolve('webpack')`, now it builds, but the for `-p tizen` it builds the appShell, not the real app. The `platformBuilds/blank_tizen/project/build` directory does...

@mihaiblaga89 For development yes but I meant release builds. Tizen does not support `export` or `deploy`, so I assume that `rnv build -p tizen` should build a production release bundle....

@alaingoga Of the top of my head it was the sdk-webpack.js file and I just changed it manually for the build, if I remember correctly

The proper way would be to use something like `require.resolve()`, but I think I tried it and it does not result in the same file that rnv uses right now.

@pavjacko I think this works: `const WEBPACK = require.resolve('webpack-cli/bin/cli.js');` However, maybe this is only for me...? I wonder why you use `webpack` and not `webpack-cli`...? I am guessing the same...

@VladLegkowski make sure you edited the correct file, there are 2 spots where the webpack path is defined. Once for dev and once for production builds. Search for `bin/webpack.js` and...

@VladLegkowski this works for me: https://github.com/simpleTechs/renative/tree/simpleTechs That is the change: https://github.com/simpleTechs/renative/commit/8a9446d15f8585d4e251fcfc22177ff4fcf089eb#diff-2fe34df7a4d5ff39cd67b3c6b5c06a43c88aa0dafb62c1803f99d1612c68ac7cL56

The question is still relevant for me :)

In my case, this was also a feasible solution: ```tsx function fixRNDimensions(orientation: OrientationType) { const windowDim = Dimensions.get('window') const screenDim = Dimensions.get('screen') if ( (orientation.match(/LANDSCAPE/i) && windowDim.width < windowDim.height) ||...

I also just tested it (via CLI). It takes >3seconds for compiling. How it take so long to transpile one html format to another? For me that is ok, I...