javascript - Browswerify compiling to full paths even when fullPaths is set to false -


i have following gulp task:

var source = require('vinyl-source-stream'),     gulp = require('gulp'),     browserify = require('browserify'),     reactify = require('reactify'),     notify = require('gulp-notify');  var sourcesdir = './react',     appentrypoint = "req.jsx",     targetdir = './build';   gulp.task('default', function() {   return browserify({entries: [sourcesdir + '/' + appentrypoint], fullpaths:false, debug: true})     .transform(reactify)     .bundle()     .pipe(source(appentrypoint))     .pipe(gulp.dest(targetdir))     .pipe(notify("bundling done.")); });  gulp.task('watch', function() {   gulp.watch(sourcesdir + '/' + "*.jsx", ['default']); }); 

when go build folder , see built file. contains full paths of js files. how prevent that?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -