@Myrdhin wrote:
hello Image may be NSFW.
Clik here to view.Could somebody help me to understand why I can not define a function/callback in
config/environment.js
ENV object?I see functions/callbacks are removed when we build the application but I can not find where in the ember-cli source code.
Why I want functions/callbacks in ENV ? I use “ember-cli-sentry” addon and we can define some raven-js options in
ENV.sentry.ravenOptions
. I need one Raven option which is a callbackshouldSendCallback
(cf https://docs.sentry.io/clients/javascript/config/)Thanks Image may be NSFW.
Clik here to view.
Posts: 1
Participants: 1