We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc57b2 commit 86296abCopy full SHA for 86296ab
1 file changed
files/rollup.config.mjs
@@ -64,8 +64,9 @@ export default {
64
65
// Emit .d.ts declaration files
66
addon.declarations(
67
- 'declarations',
68
- `<%= packageManager %> exec glint --declaration --project ${configs.ts}`,
+ 'declarations',<% if (packageManager === 'pnpm') { %>
+ `pnpm glint --declaration --project ${configs.ts}`,<% } else { %>
69
+ `npm exec glint -- --declaration --project ${configs.ts}`,<% } %>
70
),<% } %>
71
72
// addons are allowed to contain imports of .css files, which we want rollup
0 commit comments