UNPKG

ember-auto-import

Version:
28 lines 831 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NullLeader = void 0; /* This is designed to fail lazily if you actually try to build with ember-auto-import. It's lazy instead of eager because because the build is actually running, addons may be attempting to configure ember-auto-import in an environment (@embroider/core >= 4.0) where no ember-auto-import is actually needed. */ class NullLeader { constructor(failureMessage) { this.failureMessage = failureMessage; } isPrimary() { return false; } analyze() { throw new Error(this.failureMessage); } included() { } addTo() { throw new Error(this.failureMessage); } registerV2Addon() { } } exports.NullLeader = NullLeader; //# sourceMappingURL=null-leader.js.map