scottjehl/Respond

Inject respond dependency in html with wiredep

Opened this issue · 0 comments

I've tried to use respond with wiredep inside a gulpfile.js script.
Like many other packages, I would like to automatically inject respond dependency into my html.
I've used an override too, as suggested in the wiredep docs, without success, the dependency is not included in my html:

gulp.task('build:html', () =>
  gulp.src('src/index.html')
    .pipe(wiredep({
      overrides: {
        'respond': {
          'main': [
            'dest/respond.matchmedia.addListener.min.js',
            'dest/respond.min.js'
          ]
        }
    }))
    .pipe(gulp.dest('build/html/'))
);

So my question is: does respond.js adhere to bower specifications in order to let wiredep work properly?
Thanks you