Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing missing qunit-dom declaration file #857

Merged
merged 1 commit into from
Oct 28, 2020
Merged

Conversation

scalvert
Copy link
Collaborator

Fixes #856

Verified with the provided reproduction repository.


external: ['qunit'],
plugins: [typescript(typescriptConfiguration)],

output: {
name: 'QUnitDOM',
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're now adding an export in what was previously qunit-dom-globals.ts, rollup expects you to provide an output.name, and will print a warning to that effect:

(!) If you do not supply "output.name", you may not be able to access the exports of an IIFE bundle.

Adding this name resolves that warning, and doesn't appear to have a detrimental effect.

@scalvert scalvert requested a review from Turbo87 October 27, 2020 17:15
@scalvert
Copy link
Collaborator Author

cc/ @rwjblue

@scalvert scalvert merged commit 8a56345 into master Oct 28, 2020
@scalvert scalvert deleted the fix-declaration branch October 28, 2020 18:21
@Turbo87 Turbo87 added the bug label Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: Could not find a declaration file for module 'qunit-dom' on v1.6.0-beta.1
3 participants