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

fix: typeof import default in dts #647

Merged
merged 3 commits into from
Mar 28, 2023
Merged

fix: typeof import default in dts #647

merged 3 commits into from
Mar 28, 2023

Conversation

ineshbose
Copy link
Collaborator

@ineshbose ineshbose commented Mar 25, 2023

Wasn't getting the default exports but rather all exports in cases of typeof import(...) - this should fix it

Handy playground: https://stackblitz.com/github/ineshbose/nuxt-tailwindcss-module

@what-the-diff
Copy link

what-the-diff bot commented Mar 25, 2023

PR Summary

  • Changed import statement for subpaths - Simplified and improved the way subpaths are imported in the code.
  • Updated default export for config options - Made the default export more efficient by referencing its own module instead of containing all other modules as properties.

@ineshbose ineshbose merged commit a5702d4 into nuxt-modules:main Mar 28, 2023
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.

1 participant