Using ember-cli-notifications
plugin the notifications work absolutely fine locally but when deployed for production the styles don't appear to be working - the notification functionality still works but not the styling.
Checking the compiled source in both environments things look the same: The Ember component is rendered with this markup in both environments:
ember-view _c-notification__container--top_qmx12s _c-notification__container_qmx12s
under the class-names: ._c-notification_1k7w9i
The only differences being that when deployed it gets built for production
and thus all styles are minimised and these comments are not included in the deployed version: /*#sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInRtcC9jc3Ntb2R1bGVzLWlucHV0X2Jhc2VfcGF0aC01TWo5TTVUaS50bXAvMC9tb2R1bGVzL2VtYmVyLWNsaS1ub3RpZmljYXRpb25zL3N0eWxlcy9hZGRvbi5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsWUFBWTs7QUFNWixhQUFhIiwiZmlsZSI6InRtcC9jc3Ntb2R1bGVzLWlucHV0X2Jhc2VfcGF0aC01TWo5TTVUaS50bXAvMC9tb2R1bGVzL2VtYmVyLWNsaS1ub3RpZmljYXRpb25zL3N0eWxlcy9hZGRvbi5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBDb2xvcnMgKi9cbkB2YWx1ZSAtLWdyZWVuOiAjNjRjZTgzO1xuQHZhbHVlIC0tYmx1ZTogIzNlYTJmZjtcbkB2YWx1ZSAtLW9yYW5nZTogI2ZmN2Y0ODtcbkB2YWx1ZSAtLXJlZDogI2U3NGMzYztcblxuLyogU3BhY2luZyAqL1xuQHZhbHVlIC0tc3BhY2luZy0xOiAuNXJlbTtcbkB2YWx1ZSAtLXNwYWNpbmctMjogMXJlbTtcbiJdfQ== */ /* styles for modules/ember-cli-notifications/styles/components/notification-message.css */
Aucun commentaire:
Enregistrer un commentaire