gulp-hsp-transpiler
raw JSON → 0.0.3 verified Fri May 01 auth: no javascript deprecated
Gulp plugin for transpiling Hashspace templates. Version 0.0.3, deprecated. Rarely updated, requires peer dependency 'hashspace'. Differentiator: integrates Hashspace transpilation into Gulp build pipelines, but lacks support beyond basic usage.
Common errors
error Error: Cannot find module 'hashspace' ↓
cause Peer dependency 'hashspace' not installed.
fix
npm install hashspace
Warnings
deprecated Package is deprecated and unmaintained. No updates since initial release. ↓
fix Consider migrating to an alternative solution or forking the repository.
gotcha Requires peer dependency 'hashspace' to be installed manually. ↓
fix Run `npm install hashspace` in your project.
gotcha Usage example shows 'gulp-hsp-transpiler' but repository name is 'gulp-hsp-compiler'. Possible confusion. ↓
fix Double-check the package name: use 'gulp-hsp-transpiler'.
Install
npm install gulp-hsp-transpiler yarn add gulp-hsp-transpiler pnpm add gulp-hsp-transpiler Imports
- default wrong
import hspTranspiler from 'gulp-hsp-transpiler';correctconst hspTranspiler = require('gulp-hsp-transpiler'); - gulp wrong
import gulp from 'gulp';correctconst gulp = require('gulp');
Quickstart
const gulp = require('gulp');
const hspTranspiler = require('gulp-hsp-transpiler');
gulp.task('default', function() {
gulp.src('src/**/*.js')
.pipe(hspTranspiler())
.pipe(gulp.dest('dist'));
});
// Ensure 'hashspace' is installed as a dependency.