From f3e1e325c97ab259b5fa5391b0eb736889423d88 Mon Sep 17 00:00:00 2001 From: bmac Date: Sun, 22 Oct 2017 12:15:04 -0400 Subject: [PATCH] Move initialize-store-service.js out of the instance-initializers directory. That directory seems to be suggesting to ember-load-initializers that it is a full initializer object and causing an exception to be thrown in the globals build. Fixes #5118 --- addon/index.js | 2 +- addon/{instance-initializers => }/initialize-store-service.js | 0 app/instance-initializers/ember-data.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename addon/{instance-initializers => }/initialize-store-service.js (100%) diff --git a/addon/index.js b/addon/index.js index 9488e79a16f..397f90fb601 100644 --- a/addon/index.js +++ b/addon/index.js @@ -52,7 +52,7 @@ import { import "ember-inflector"; import setupContainer from "./setup-container"; -import initializeStoreService from './instance-initializers/initialize-store-service'; +import initializeStoreService from './initialize-store-service'; import Transform from './transforms/transform'; import NumberTransform from './transforms/number'; diff --git a/addon/instance-initializers/initialize-store-service.js b/addon/initialize-store-service.js similarity index 100% rename from addon/instance-initializers/initialize-store-service.js rename to addon/initialize-store-service.js diff --git a/app/instance-initializers/ember-data.js b/app/instance-initializers/ember-data.js index ef21c3fe50d..50b27f03026 100644 --- a/app/instance-initializers/ember-data.js +++ b/app/instance-initializers/ember-data.js @@ -1,4 +1,4 @@ -import initializeStoreService from 'ember-data/instance-initializers/initialize-store-service'; +import initializeStoreService from 'ember-data/initialize-store-service'; export default { name: "ember-data",