Skip to content

Commit 014568e

Browse files
committed
Remove importSync to demonstrate 'fix' for embroider-build/embroider#1672
1 parent 3d67f1a commit 014568e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

ember-primitives/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"types": "./dist-types/test-support/index.d.ts",
141141
"default": "./dist/test-support/index.js"
142142
},
143-
"./addon-main": "./addon-main.cjs"
143+
"./addon-main.js": "./addon-main.cjs"
144144
},
145145
"typesVersions": {
146146
"*": {

ember-primitives/src/index.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';
2-
3-
if (macroCondition(isDevelopingApp())) {
4-
importSync('./components/violations.css');
5-
}
6-
71
export {
82
Accordion,
93
type AccordionContentExternalSignature,

0 commit comments

Comments
 (0)