From 014568e48b065ff42371dd5a51bf45776649d26d Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:35:01 -0500 Subject: [PATCH] Remove importSync to demonstrate 'fix' for https://github.com/embroider-build/embroider/issues/1672 --- ember-primitives/package.json | 2 +- ember-primitives/src/index.ts | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ember-primitives/package.json b/ember-primitives/package.json index 93d37ffe..1f27762a 100644 --- a/ember-primitives/package.json +++ b/ember-primitives/package.json @@ -140,7 +140,7 @@ "types": "./dist-types/test-support/index.d.ts", "default": "./dist/test-support/index.js" }, - "./addon-main": "./addon-main.cjs" + "./addon-main.js": "./addon-main.cjs" }, "typesVersions": { "*": { diff --git a/ember-primitives/src/index.ts b/ember-primitives/src/index.ts index ef228f73..b237bcaa 100644 --- a/ember-primitives/src/index.ts +++ b/ember-primitives/src/index.ts @@ -1,9 +1,3 @@ -import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros'; - -if (macroCondition(isDevelopingApp())) { - importSync('./components/violations.css'); -} - export { Accordion, type AccordionContentExternalSignature,