Process into a single file with this gulp plugin.
A gulp task to concatenate a set of Web Components into one file. A preprocessor for
Named for the Vulcanization process that turns polymers into more durable materials.
spock is available on npm.
npm install --save-dev spock
- Enable more verbose logging
- Required for correctly setting links (for now)
gulptask'build-html'gulpsrc'./*.html'pipespockverbose: trueoutputDir: './build'pipegulpdest'./build';;
Say we have three html files:
Running spock on
index.html will result in an output file that
appears as so: