Skip to content

Fix vite build issue with import from accounting-js #124

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

Merged
merged 2 commits into from
Jun 11, 2023

Conversation

derickdsouza
Copy link
Contributor

This PR fixes a vite build issue: vite build fails while trying to optimise its dependencies because accounting-js does not export default. Using named exports fixes the issue and allows vite to optimise vue-numeric.

accounting-js does not export default and vite build fails while trying to optimise its dependencies. Using named exports solves the issue and allows vite to optimise vue-numeric wihtout errors.
@kevinongko
Copy link
Owner

Hi thanks for the PR, could you fix the merge conflict?

@alcoheca
Copy link

This good to go in now? Just came up against this after migrating to Vite

@eeedvisss
Copy link

@kevinongko
Could we merge this in? Looks like its good to go. As this issue is blocking the package usage with vite.

@kevinongko kevinongko merged commit 03c6f1a into kevinongko:master Jun 11, 2023
@kevinongko
Copy link
Owner

@eeedvisss updated, cheers

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

Successfully merging this pull request may close these issues.

4 participants