expo / web-examples

Examples of using Expo in the browser.
272 stars 51 forks source link

How to add homepage attribute in package.json? #52

Closed loq24 closed 4 years ago

loq24 commented 5 years ago

I tried to add homepage attribute in package.json but it doesn't seem to work. I want deploy my app in a subdirectory. Thanks

AlexGrafe commented 5 years ago

Check out this issue about the web.publicPath which currently doesn't work anymore. It's to tell expo which subdirectory you're using for your app, e.g. https://mydomain.com/myapp.

40

EvanBacon commented 4 years ago

Resolved https://github.com/expo/expo-cli/blob/69dc96d4790f0d35be145436c879f0c0e9f6964b/packages/webpack-config/src/env/paths.ts#L102-L129