Skip to content
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

Inject respond dependency in html with wiredep #362

Open
caneta opened this issue Aug 1, 2016 · 0 comments
Open

Inject respond dependency in html with wiredep #362

caneta opened this issue Aug 1, 2016 · 0 comments

Comments

@caneta
Copy link

caneta commented Aug 1, 2016

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

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

No branches or pull requests

1 participant