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

Turn the package into a module #140

Open
saghul opened this issue Nov 9, 2021 · 0 comments
Open

Turn the package into a module #140

saghul opened this issue Nov 9, 2021 · 0 comments

Comments

@saghul
Copy link
Member

saghul commented Nov 9, 2021

Replace require's with import and make it type: module in package.json. This will allow us to strop adding exceptions for it in webpack config and tree-shaking should just work.

We might also want to get rid of index.js and have the main and renderer helpers be completely separate import paths.

@saghul saghul modified the milestone: 3.0.0 Nov 9, 2021
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