discourse/app/assets/javascripts/ember-shim.js
Jarek Radosz 6ba326a9f4
DEV: Deprecate ember module imports (#9011)
Removes remaining `ember` module imports.
2020-02-21 15:56:49 +01:00

15 lines
371 B
JavaScript

// Allow us to import Ember
define("ember", ["exports"], function(__exports__) {
// eslint-disable-next-line no-console
console.warn(
[
"Deprecation notice:",
"Use specific `@ember/*` imports instead of `ember`",
"(deprecated since Discourse 2.4.0)",
"(removal in Discourse 2.5.0)"
].join(" ")
);
__exports__.default = Ember;
});