Skip to content

Commit

Permalink
Accomodate NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jun 13, 2024
1 parent 5bcc201 commit a6763df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion files/__addonLocation__/rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ export default {
* but our consumers may not be using those, or have a new enough ember-source that provides them.
*/
console.log("Building types");
await $({ stdio: 'inherit' })`./node_modules/.bin/glint --declaration`;
let command = npm ? 'npm exec glint -- --declaration' : `${packageManager} glint --declaration`;

await $({ stdio: 'inherit' })`${command}`;

/**
* https://github.com/microsoft/TypeScript/issues/56571#
Expand Down

0 comments on commit a6763df

Please sign in to comment.