Skip to content

Pub build filters out .dart files in lib/, even in debug mode #16567

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

Closed
munificent opened this issue Feb 5, 2014 · 5 comments
Closed

Pub build filters out .dart files in lib/, even in debug mode #16567

munificent opened this issue Feb 5, 2014 · 5 comments
Assignees

Comments

@munificent
Copy link
Member

In debug mode, Dart files should not be filtered out by pub build. Currently they are if they live in a package's lib directory, regardless of build mode.

See this thread:

https://groups.google.com/a/dartlang.org/forum/#!topic/misc/JjilMA9pQXE

@munificent
Copy link
Member Author

We should do this, but note that it does not completely solve Dart files in the build output.

If there are Dart files with "package:" imports in subdirectories of the build directory, they won't work. See: https://code.google.com/p/dart/issues/detail?id=16649

@munificent
Copy link
Member Author

Marked this as blocking #16649.

@munificent
Copy link
Member Author

This will be implicitly fixed by: https://codereview.chromium.org/135153012/

But I'm leaving this bug open to track writing a test that .dart files specifically are copied over.


Added Started label.

@munificent
Copy link
Member Author

@DartBot
Copy link

DartBot commented Jun 5, 2015

This issue has been moved to dart-lang/pub#846.

This issue was closed.
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

3 participants