Transformer dev dependency

35 views
Skip to first unread message

Don Olmstead

unread,
Mar 2, 2015, 2:13:47 PM3/2/15
to mi...@dartlang.org
I have a library that in the web folder I was using the SASS transformer. Since its only for the build of the web site around the library I put sass as a dev dependency. However pub freaks out in this scenario. I was getting pubspec not found errors for projects further down the line. When I removed the transformer everything worked. So is there any way to mark a transformer as not mattering for dependent projects?

Natalie Weizenbaum

unread,
Mar 2, 2015, 2:20:10 PM3/2/15
to General Dart Discussion
We've talked several times about adding dev_transformers, although I'm not sure there's a bug tracking that at the moment.

On Mon, Mar 2, 2015 at 11:13 AM, Don Olmstead <don.j.o...@gmail.com> wrote:
I have a library that in the web folder I was using the SASS transformer. Since its only for the build of the web site around the library I put sass as a dev dependency. However pub freaks out in this scenario. I was getting pubspec not found errors for projects further down the line. When I removed the transformer everything worked. So is there any way to mark a transformer as not mattering for dependent projects?

--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Don Olmstead

unread,
Mar 2, 2015, 2:25:16 PM3/2/15
to mi...@dartlang.org
Yea I'm not seeing one in the bug tracker. You want me to open one?

Until then it might be useful to have an error message about it. It took a bit of time to track down what was going wrong.

Bob Nystrom

unread,
Mar 2, 2015, 3:37:08 PM3/2/15
to General Dart Discussion
On Mon, Mar 2, 2015 at 11:25 AM, Don Olmstead <don.j.o...@gmail.com> wrote:
Yea I'm not seeing one in the bug tracker. You want me to open one?

Yes, please!
 

Until then it might be useful to have an error message about it. It took a bit of time to track down what was going wrong.

Yeah, filing a bug for that too would be helpful.

Thanks!

- bob

Don Olmstead

unread,
Mar 2, 2015, 4:52:45 PM3/2/15
to mi...@dartlang.org
Reply all
Reply to author
Forward
0 new messages