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

Add support for dart [Feature request] #2464

Open
neutrino2211 opened this issue Dec 25, 2018 · 2 comments
Open

Add support for dart [Feature request] #2464

neutrino2211 opened this issue Dec 25, 2018 · 2 comments

Comments

@neutrino2211
Copy link

🙋 feature request

Support for .dart files. Dart has become a very popular language over the years and with Google's project Hummingbird on the horizon it is expected to get much more popular so having the support built-in would be great.

🤔 Expected Behavior

All .dart files used by a project should be compiled to JS and included in the output.

😯 Current Behavior

Files just get copied.

💁 Possible Solution

The Dart sdk already comes with dart2js which is great at compiling dart to very robust javascript code, so this is the best approach for it.

🔦 Context

I love using dart (flutter) for mobile apps and parcel for webapps so it just came naturally to try and marry the two together, plus with Flutter coming to web in the form of HummingBird, having dart built-in would be a great addition.

💻 Examples

N/A

@Taym95
Copy link
Contributor

Taym95 commented Aug 6, 2019

I would like to work on this feature!

@devongovett
Copy link
Member

I’d recommend doing this against v2 at this point. V1 is in maintainence mode, and we’ll be shipping the first alpha of v2 shortly. Everything is on the v2 branch, so take a look at some of the existing transformer plugins.

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

No branches or pull requests

4 participants