azproduction / lmd

LMD - JavaScript Module-Assembler for building better web applications :warning: Project is no longer supported :warning:
http://azproduction.ru/lmd/
MIT License
449 stars 27 forks source link

Absolute "root" paths #180

Closed jeron-diovis closed 10 years ago

jeron-diovis commented 10 years ago

They don't work.

While here: https://githb.com/azproduction/lmd/wiki/LMD-config you say "if starts with "/" it is absolute path else path will be relative to the config file", here: https://github.com/azproduction/lmd/blob/master/lib/lmd_writer.js#L55 root is just joined with path to '.lmd' dir. With corresponding result.

If I'm wrong - please, tell me, WHERE? Or just nobody used absolute paths before?

azproduction commented 10 years ago

Yep, nobody. Fixing.

azproduction commented 10 years ago

Fixed in lmd@1.12.0