PublishingΒΆ
- Complete the meta information in
meta.json - Run the gulp’s publish task.
$ gulp publish
Note
If you need to invalidate files you’ve previously published in CloudFront’s cache, add the --invalidate flag:
$ gulp publish --invalidate
Your dist folder will be synced to the directory specified under publishPath in meta.json, which means files in AWS at that location that are not in your dist directory will be deleted.
The publish task will also version and gzip CSS and JS assets.