awsmobile-cli icon indicating copy to clipboard operation
awsmobile-cli copied to clipboard

Consider setting the homepage attribute in package.json

Open baharev opened this issue 6 years ago • 1 comments

After running awsmobile publish with the default settings, one gets an error since the homepage is not set in package.json by default.

The nicest solution would be to set it automagically by awsmobile.

If that is too difficult, at least abort the awsmobile publish very early and do not run npm install, etc, if the homepage in the package.json is missing. The application won't work anyway, so don't bother with the build and publishing.

Again, this is only a minor pain point and it is easy to correct, but fixing it in awsmobile would improve the first impression and the overall customer experience.

baharev avatar Dec 10 '17 15:12 baharev

I think in this case it should be necessary to update s3 static website configuration? Or when you build it is generated automatically?

elorzafe avatar Dec 28 '17 00:12 elorzafe