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

Is there support for dynamic and nested imports? #1

Open
filipenevola opened this issue Feb 15, 2024 · 1 comment
Open

Is there support for dynamic and nested imports? #1

filipenevola opened this issue Feb 15, 2024 · 1 comment

Comments

@filipenevola
Copy link

Hey, my friend! It's nice to see Meteor & Vite together.

At Quave, we use Vite for simple React client-side-only projects (like websites).

As we know from past attempts with Webpack, one of the challenges is to support features where Meteor is the only one supporting (nested imports), or Meteor implements the feature differently (dynamic imports).

What is the status of these two features using Vite + Meteor?

Thanks ;)

@nachocodoner
Copy link
Owner

nachocodoner commented Feb 15, 2024

Hey Filipe!

This repository covers Viter integration and is a similar implementation as the Webpack approach described here, this is the simplest form of adoption of a modern bundler. While sacrificing Meteor-specific bundle capabilities, it aligns with standard bundlers, making porting outside the Meteor ecosystem easier and benefit of all modern optimizations. I've used it for my projects, finding it sufficient without concerns about Meteor-specific imports.

Now, with the Meteor community prioritizing backward compatibility, I'm reevaluating. The current repository approach faces challenges on adopting Meteor-specific imports. However, I discovered meteor-vite, a more advanced project ensuring compatibility with Meteor specifics. I'm in touch with the developer, exploring a fully compatible approach for the Meteor community. Maybe this is something you and your team can also evaluate.

Check out this Meteor community discussion on modern bundlers integration.

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

No branches or pull requests

2 participants