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

Cannot set jsInteropExports when using Draft mode #56

Open
psimonazzi opened this issue Jan 28, 2022 · 3 comments
Open

Cannot set jsInteropExports when using Draft mode #56

psimonazzi opened this issue Jan 28, 2022 · 3 comments

Comments

@psimonazzi
Copy link

psimonazzi commented Jan 28, 2022

It seems impossible to enable jsInteropExport together with Draft mode (not sure if it is a limitation also of the GWT compiler).
Options for jsInteropExports can be set only in the gwt extension, not in draftCompileGwt.

gwt {
    // works correctly
    jsInteropExports {
        shouldGenerate = true
    }
}

draftCompileGwt {
    // compiler error
    jsInteropExports {
        shouldGenerate = true
    }
}
@jiakuan
Copy link
Owner

jiakuan commented Jan 29, 2022 via email

@psimonazzi
Copy link
Author

The GWT compiler seems to work with these options, so it could be allowed in the plugin too.

@jiakuan
Copy link
Owner

jiakuan commented Feb 13, 2022

Thanks for checking this.
If you could dig in the plugin code and create a pull request (should be not hard), that'd the quickest way.
Or, I will have a look when I have a chance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants