Skip to content

Commit

Permalink
Remove importSync to demonstrate 'fix' for embroider-build/embroider#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 17, 2023
1 parent 3d67f1a commit 014568e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion ember-primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
"*": {
Expand Down
6 changes: 0 additions & 6 deletions ember-primitives/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
import { importSync, isDevelopingApp, macroCondition } from '@embroider/macros';

if (macroCondition(isDevelopingApp())) {
importSync('./components/violations.css');
}

export {
Accordion,
type AccordionContentExternalSignature,
Expand Down

0 comments on commit 014568e

Please sign in to comment.