gulp-bem / gulp-bem-bundle-builder

DEPRECATED repository, moved to https://github.com/bem/gulp-bem/tree/master/packages/gulp-bem-bundle-builder
Other
3 stars 1 forks source link

Specs for techMap #16

Open qfox opened 7 years ago

qfox commented 7 years ago

E.g. we need to freeze in specs what techMap should do with multiple extensions:

techMap: {
  image: ['jpg', 'png', 'svg']
}
// should return all the files or just the first one or anything else?
tadatuta commented 7 years ago

Sure it should return all of them (e.g. for vanilla.js and browser.js and js) and then gulp-one-of can filter the first matched if needed (e.g. for post.css or css).