Skip to content

Commit e98b09b

Browse files
committed
fix react-native-web product build will export 'URIUtil' (reexported as 'URIUtil') was not found ref to RonRadtke/react-native-blob-util#201
1 parent 1f9b30c commit e98b09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Android iOS Web pixel drawing editor APP and sub-app that comes in handy when cr
2626
## Web
2727
`npm run web` for development, then view it at [http://localhost:3000](http://localhost:3000) in web browser.
2828

29-
[Fix getUUID and URIUtil re-exports](https://github.com/RonRadtke/react-native-blob-util/pull/183) manually on `node_modules/react-native-blob-util/index.js` before `npm run build-web`, otherwise will `export 'URIUtil' (reexported as 'URIUtil') was not found in './utils/uri' (possible exports: default)`.
29+
[fix: with react-native-web product build](https://github.com/RonRadtke/react-native-blob-util/pull/201) manually that add `node_modules/react-native-blob-util/index.web.js` and edit `node_modules/react-native-blob-util/package.json` before `npm run build-web`, otherwise will `export 'URIUtil' (reexported as 'URIUtil') was not found in './utils/uri' (possible exports: default)`.
3030

3131
`npm run build-web` to generate files in `build/` for production to deploy to `https://foo.bar.com/` , and can use `npx [email protected] build` to simply test it at [http://127.0.0.1:8080](http://127.0.0.1:8080) in web browser.
3232

0 commit comments

Comments
 (0)