Skip to content

Commit

Permalink
Fix replaceExtension usage #88
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd committed Jan 2, 2018
1 parent 0190ebe commit 5a2b0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = function(opts) {
}

file.contents = new Buffer(compiled);
file.path = gutil.replaceExtension(file.path, '.js');
file.extname = '.js';

// Options that take effect when used with gulp-define-module
file.defineModuleOptions = {
Expand Down

0 comments on commit 5a2b0fc

Please sign in to comment.