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

ES Modules #52

Open
trusktr opened this issue Sep 13, 2021 · 2 comments
Open

ES Modules #52

trusktr opened this issue Sep 13, 2021 · 2 comments

Comments

@trusktr
Copy link

trusktr commented Sep 13, 2021

I wonder if karma-electron can be updated so that test files can use native import syntax (either the browser flavor, or Node.js ESM).

@twolfson
Copy link
Owner

Are you currently encountering issues with using these files? I haven't yet tried but would appreciate a test case (I don't have much experience with ESM without transpiling)

@trusktr
Copy link
Author

trusktr commented Sep 15, 2021

I'm actually currently using karma-webpack to use ESM, but it will be nice to remove it (it has a perf hit, like 14 seconds in my project for the bundling phase). Working to update electron, and will see how it goes.

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