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

Svelte need index.d.ts & index.js for import resolutions #4975

Closed
6 tasks done
alfarih31 opened this issue Sep 20, 2021 · 2 comments
Closed
6 tasks done

Svelte need index.d.ts & index.js for import resolutions #4975

alfarih31 opened this issue Sep 20, 2021 · 2 comments
Labels

Comments

@alfarih31
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

Nope

Bug description

IntelliSense should give you suggestion on import to swiper/svelte

image

Expected Behavior

IntelliSense give you this suggestion

image

Actual Behavior

image

Swiper version

7.0.6

Platform/Target and Browser Versions

macOS Brave Version 1.29.81 Chromium: 93.0.4577.82 (Official Build) (arm64)

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@nolimits4web
Copy link
Owner

nolimits4web commented Sep 28, 2021

Svelte for sure doesn't need it. What needs it is your editor, which seems like doesn't support pure ES modules packages. I am not sure we need to add unnecessary files for some specific text editor

@hmaesta
Copy link

hmaesta commented Jan 26, 2022

Svelte official REPL would benefit from this. Currently it can't run Swiper.

Screen Shot 2022-01-26 at 13 23 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants