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

Package export error when running unit-tests #9

Open
BlockSplitME opened this issue Oct 18, 2024 · 1 comment
Open

Package export error when running unit-tests #9

BlockSplitME opened this issue Oct 18, 2024 · 1 comment
Assignees

Comments

@BlockSplitME
Copy link

error:

Module 'node_modules/waveform-path/dist/waveform-path.min.js:1' seems to be an ES Module but shipped in a CommonJS package. You might want to create an issue to the package "waveform-path" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.

Is it possible to add "type": "module" in package.json?

@jerosoler jerosoler self-assigned this Oct 18, 2024
@jerosoler
Copy link
Owner

Hi @BlockSplitME

Create a new release:
https://github.com/jerosoler/waveform-path/releases/tag/0.0.2

And new npm package: 0.0.2

Try: npm install [email protected]

Added ESM and CJS export with vite and remove gulp (commit): f026dbe

If you like the support or packages I make. You can contribute with a donation: https://paypal.me/jerosoler

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