Permalink
Browse files

Update source_maps example to fit recent changes

	Error: bundle() no longer accepts option arguments.
  • Loading branch information...
1 parent c7a918f commit 3ffbbc34cf9d5d5b9f71c0388a1f2c9e1803880b @HaNdTriX HaNdTriX committed Sep 25, 2014
Showing with 5 additions and 2 deletions.
  1. +5 −2 example/source_maps/build.js
@@ -4,7 +4,10 @@ var browserify = require('../..'),
bundlePath = path.join(__dirname, 'js', 'build', 'bundle.js');
browserify()
- .require(require.resolve('./js/main.js'), { entry: true })
- .bundle({ debug: true })
+ .require(require.resolve('./js/main.js'), {
+ entry: true,
+ debug: true
+ })
+ .bundle()
.on('error', function (err) { console.error(err); })
.pipe(fs.createWriteStream(bundlePath));

0 comments on commit 3ffbbc3

Please sign in to comment.