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(config): use mjs template #930

Merged
merged 3 commits into from
Dec 25, 2024
Merged

fix(config): use mjs template #930

merged 3 commits into from
Dec 25, 2024

Conversation

ineshbose
Copy link
Collaborator

πŸ”— Linked issue

resolves #927

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Copy link

what-the-diff bot commented Dec 25, 2024

PR Summary

  • Configuration File Name Update
    The configuration file was renamed from tailwind.config.cjs to tailwind.config.mjs. This change aligns better with modern JavaScript naming conventions.

  • Import Syntax Update
    All import statements within the code were switched from using the older CommonJS syntax to the newer ES module syntax. This makes the code more up-to-date and consistent with current best practices.

  • Layer Configuration File Handling
    The code that handles layer configuration files has been revised. Now, it can support imports from ES modules. This allows for better management and use of configuration files.

  • Template Generation Logic Adjusted
    Changes were made to the logic that generates templates. These adjustments were necessary due to the changes in how configurations are serialized and merged, ensuring that the generation of templates remains smooth and efficient.

Copy link

netlify bot commented Dec 25, 2024

βœ… Deploy Preview for nuxt-tailwindcss ready!

Name Link
πŸ”¨ Latest commit 559edee
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-tailwindcss/deploys/676c483633f4cf0008863a00
😎 Deploy Preview https://deploy-preview-930--nuxt-tailwindcss.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ineshbose ineshbose merged commit bbe05d0 into main Dec 25, 2024
3 checks passed
@ineshbose ineshbose deleted the fix/node-22 branch December 25, 2024 18:02
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.

ERROR ExperimentalWarning: CommonJS module is loading ES Module
1 participant