Skip to content

Import errors on server side of Nuxt #125

@zguig52

Description

@zguig52

Describe the bug

There is a packaging issue in the library. For SSR apps, it works on client side but not on server side (only after the build - during dev, there is no issue).

Workaround give by Nuxt team is to "transpile" it:
nuxt/nuxt#26375

To Reproduce
https://stackblitz.com/edit/github-qytiun

Expected behavior
Module shall be properly packaged in order to allow usage without transpiling it in Nuxt.

Additional context
N/A - refer to reproduction code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions