Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

module.exports commonjs issue #14

Closed
daybrush opened this issue Dec 22, 2020 · 0 comments
Closed

module.exports commonjs issue #14

daybrush opened this issue Dec 22, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@daybrush
Copy link
Member

Description

ImReady is not constructor.

import ImReady from "@egjs/imready";

ImReady; // { default: constructor }

exports.deafult = ImReady;
=>
module.exports = ImReady;

Steps to check or reproduce

@daybrush daybrush added the bug Something isn't working label Dec 22, 2020
@mixed mixed closed this as completed Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants