-
Notifications
You must be signed in to change notification settings - Fork 24
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
Doesn't seem to play nice with gulp-metalsmith
#36
Comments
Oh strange, I haven't heard any other issues with it before. Can you share a little bit of what your setup looks like? |
Sure. I have a gulp.task('build', build);
exec('gulp build');
function build() {
gulp.src(['source/**', '!source/layouts/**', '!source/partials/**'])
.pipe(plumber())
.pipe(metalsmith({
use: [
markdown(),
layouts({
engine: 'handlebars',
default: 'page.html',
directory: 'source/layouts',
partials: 'source/partials',
pattern: '**/*.html'
})
]
})); As you can see, ideally I can use your great tool inline with Currently, I am using gulp-sass directly. This works great; however, I would ideally like to merge the operations. Thanks a lot for your quick response. EDIT: If interested, here is the precise implementation. |
First, thanks for building a much-needed
libSass
wrapper formetalsmith
.Unfortunately, I am having an issue getting it set up.
I haven't had an opportunity to dig in, but gulp-metalsmith seems to work with every other plugin I have tried.
With
metalsmith-sass
, there is an error:This appears to be the context (
lib/index.js:111
):Both
directory
andsource
end up being null. Any help would be greatly appreciated.The text was updated successfully, but these errors were encountered: