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

Deprecated double slash import when build with nuxt #2

Open
Erdu-EC opened this issue Aug 4, 2024 · 1 comment
Open

Deprecated double slash import when build with nuxt #2

Erdu-EC opened this issue Aug 4, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Erdu-EC
Copy link

Erdu-EC commented Aug 4, 2024

Suggest change packages/utils/package.json from:
"exports": { ".": { "types": "./index.d.mts", "import": "./index.mjs" }, "./*": { "types": "./*/index.d.mts", "import": "./*/index.mjs" } }

to:

"exports": { ".": { "types": "./index.d.mts", "import": "./index.mjs" }, "./dom": { "types": "./dom/index.d.mts", "import": "./dom/index.mjs" }, "./object": { "types": "./object/index.d.mts", "import": "./object/index.mjs" }, "./uuid": { "types": "./uuid/index.d.mts", "import": "./uuid/index.mjs" }, "./eventbus": { "types": "./eventbus/index.d.mts", "import": "./eventbus/index.mjs" }, "./zindex": { "types": "./zindex/index.d.mts", "import": "./zindex/index.mjs" } },

@mertsincan
Copy link
Member

Hi,

We have an import like this in almost all of our packages, and many libraries seem to have problems with this issue in Nuxt. For now, we can expect a response from nuxt team.

nuxt/icon#140
nuxt/ui#1286

@mertsincan mertsincan added the help wanted Extra attention is needed label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants