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
In the built dist we have
module.exports = WebpackBarPlugin;
in webpackbar.js, which means it should be imported as
webpackbar.js
import * as WebpackBar from 'webpackbar';
However, in generated type, it is declared as
export default WebpackBarPlugin;
which assumes it is imported as
import Webpackbar from 'webpackbar'
The text was updated successfully, but these errors were encountered:
I have: import WebpackBar from "webpackbar"; And then: new WebpackBar()
import WebpackBar from "webpackbar";
new WebpackBar()
When I run it I get: [webpack-cli] TypeError: WebpackBar.default is not a constructor
[webpack-cli] TypeError: WebpackBar.default is not a constructor
Sorry, something went wrong.
No branches or pull requests
In the built dist we have
in
webpackbar.js
, which means it should be imported asHowever, in generated type, it is declared as
which assumes it is imported as
The text was updated successfully, but these errors were encountered: