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

Stub import doesn't work #59

Open
marco-prontera opened this issue Aug 12, 2024 · 0 comments
Open

Stub import doesn't work #59

marco-prontera opened this issue Aug 12, 2024 · 0 comments

Comments

@marco-prontera
Copy link

When I use the stub by following the documentation with:
import * as cmpstub from "@iabgpp/stub";
then execute:
cmpstub();
I receive errors relative to the stub module code that does not provide an export named 'default', so it can't be used in a esm context.
I think a solution can be to follow the tcf stub module code and config that works well on old and recent projects: https://github.com/InteractiveAdvertisingBureau/iabtcf-es/tree/master/modules/stub

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

1 participant