DEV: Correct truth-helper exports (#31528)

In modern embroider, `app-js` files need to be exported by the module.

We need to keep the separate `app/` directory because this v2 addon
doesn't have a build step, and therefore the relative imports in the
`src/helpers` files would break if loaded as-is into the app bundle.
This commit is contained in:
David Taylor
2025-02-26 17:50:29 +00:00
committed by GitHub
parent 55d0951ccc
commit a65133af07

View File

@ -11,6 +11,7 @@
"exports": {
".": "./src/index.js",
"./*": "./src/*.js",
"./app/*": "./app/*.js",
"./addon-main.js": "./addon-main.cjs"
},
"files": [