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

What about single-file version back? #67

Open
f0rmat1k opened this issue Feb 10, 2016 · 2 comments
Open

What about single-file version back? #67

f0rmat1k opened this issue Feb 10, 2016 · 2 comments

Comments

@f0rmat1k
Copy link

Specificity of my building don't let me use version with includes. Can you add this version?

@kizu
Copy link
Owner

kizu commented Feb 10, 2016

Can you elaborate on the specifics of your build process? Multiple files are better maintainable, but I guess I could look into adding a build step to combine everything into one file before publishing to npm.

@f0rmat1k
Copy link
Author

I organized enb-like structure:

myblock  
├── myblock.js  
└── myblock.jade  

But it's very tiring to use relative paths and two time block name: (include ../myBlock/myBlock). Therefore i just use include myBlock (like blocks.exec('myBlock')) and use gulp to collect all of them into to .views directory, where they all are siblings. New bemto structure requires to write for it special rules, because my approach breaks its relative paths (/lib directory). It isn't fatal, but requires body movements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants