Skip to content
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.

Specs for techMap #16

Open
qfox opened this issue Jan 8, 2017 · 1 comment
Open

Specs for techMap #16

qfox opened this issue Jan 8, 2017 · 1 comment

Comments

@qfox
Copy link
Member

qfox commented Jan 8, 2017

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
Copy link
Member

tadatuta commented Jan 8, 2017

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).

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

No branches or pull requests

2 participants