We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A situation like this...
// main.js import * as foo from './foo.js'; console.log( foo.bar ); // foo.js export const notBar = 42;
...results in a bundle like this...
const notBar = 42; var foo = Object.freeze({ notBar: notBar }); console.log( foo.bar );
...and a warning like this:
Export 'bar' is not defined by 'main.js'
The warning is wrong – it's foo.js that should define bar, not main.js. If it was correct, the message would still be somewhat cryptic.
bar
Also, there's really no need to reify the foo namespace in cases like this.
foo
The text was updated successfully, but these errors were encountered:
fix missing namespace member warnings (closes #1045)
5412477
Merge pull request #1046 from rollup/gh-1045
8120b50
fix missing namespace member warnings
Rich-Harris
Successfully merging a pull request may close this issue.
A situation like this...
...results in a bundle like this...
...and a warning like this:
The warning is wrong – it's foo.js that should define
bar
, not main.js. If it was correct, the message would still be somewhat cryptic.Also, there's really no need to reify the
foo
namespace in cases like this.The text was updated successfully, but these errors were encountered: