curvedmark / roole

A language that compiles to CSS
http://roole.org
MIT License
342 stars 21 forks source link

support file only import #130

Open SalomonBrys opened 11 years ago

SalomonBrys commented 11 years ago

When importing a file, chrome issues 2 errors about index.roo and package.json being not found. This "polutes" the console and makes it harder to detect real errors from expected ones.

To prevent this, there should be an option in the import syntax as well as in the compile API to prevent Roole from searching for a directory.

curvedmark commented 11 years ago

Maybe I should catch such errors and only throw when all possible paths are failed.