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

How about a way to pass on inputUrl and abspath to vulcanize? #23

Open
BootsSiR opened this issue Dec 19, 2015 · 0 comments
Open

How about a way to pass on inputUrl and abspath to vulcanize? #23

BootsSiR opened this issue Dec 19, 2015 · 0 comments

Comments

@BootsSiR
Copy link

If you keep your elements at a different path with vulcanize you need to specify the abspath parameter so it can find everything. Also, in some cases you need to pass along the inputUrl parameter as well. How about a method to pass these on through polybuild? Maybe something like:

var gulp = require('gulp');
var polybuild = require('polybuild');

gulp.task('build', function() {
  return gulp.src('index.html')
  .pipe(polybuild({ vulcanizeParams : { absPath: '/myelements', inputUrl: '/other/elements.html'))
  .pipe(gulp.dest('.'))
;
})

and just pass on those vulcanizeParams to vulcanize?

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

1 participant