Discussion:
[dart-misc] Where to place config file?
Gonzalo Chumillas
2016-09-28 15:18:12 UTC
Permalink
I usually prefer to place config files in the web directory. And leave the
lib directory only for classes.

But I'm currently using SASS and Angular2 in my projects and SASS can not
access web/ files from lib/. So I was forced to place config files in lib/.
But I don't like that.

Is it a good idea to place config files in the lib directory? What do you
prefer to do?
Thanks and sorry my basic English :)
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Günter Zöchbauer
2016-09-28 18:49:59 UTC
Permalink
As already mentioned in the SASS issue, you shouldn't import from `web/`

Everything that needs to be imported from another directory should go to
`lib/`

On Wednesday, September 28, 2016 at 5:18:12 PM UTC+2, Gonzalo Chumillas
Post by Gonzalo Chumillas
I usually prefer to place config files in the web directory. And leave the
lib directory only for classes.
But I'm currently using SASS and Angular2 in my projects and SASS can not
access web/ files from lib/. So I was forced to place config files in lib/.
But I don't like that.
Is it a good idea to place config files in the lib directory? What do you
prefer to do?
Thanks and sorry my basic English :)
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...