Open qfox opened 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?
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).
vanilla.js
browser.js
js
post.css
css
E.g. we need to freeze in specs what techMap should do with multiple extensions: