Skip to content
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

automatic mixin namespacing (for less) #5

Open
davidpfahler opened this issue Dec 18, 2012 · 0 comments
Open

automatic mixin namespacing (for less) #5

davidpfahler opened this issue Dec 18, 2012 · 0 comments

Comments

@davidpfahler
Copy link
Member

When #3 is solved, the importing of different less files can cause conflicts if mixins have the same name. The dependency tracking should be able to tell which mixin each call refers to and can then automatically namespace them, before the compiler is involved.

To Do:

  • copy files that would be modified to a tmp/ folder
  • surgically insert namespaces before conflicting mixins
  • use the tmp/ files in the main file (given to the compiler) instead of the original ones
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant