This package has been deprecated

Author message:

Please use the unpathify module directly. For an example, see the GitHub repository for this module.

gulp-unpathify

0.1.1 • Public • Published

gulp-unpathify Build Status NPM version Dependency Status

Compress browserify require paths using gulp.

If you have any difficulties with the output of this plugin, please use the unpathify tracker.

Installation

Install via npm:

npm install gulp-unpathify --save-dev

Example

var gulp = require('gulp');
var browserify = require('browserify');
var source = require('vinyl-source-stream');
var unpathify = require('gulp-unpathify');
 
gulp.task('browserify', function() {
    return browserify('./main.js')
        .bundle()
        .pipe(source('bundle.js'))
        .pipe(unpathify())
        .pipe(gulp.dest('scripts'));
});

License

MIT © Ben Briggs

Package Sidebar

Install

npm i gulp-unpathify

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • beneb