Skip to content

Commit

Permalink
Merge pull request #547 from sean-shirazi/webpack-fix
Browse files Browse the repository at this point in the history
works with webpack
  • Loading branch information
aheckmann authored Aug 1, 2016
2 parents f70800b + 4ee9ddb commit f33021e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,4 @@ require("./lib/montage")(gm.prototype);
module.exports = exports = gm;
module.exports.utils = require('./lib/utils');
module.exports.compare = require('./lib/compare')();
module.exports.version = JSON.parse(
require('fs').readFileSync(__dirname + '/package.json', 'utf8')
).version;

module.exports.version = require('./package.json').version;

0 comments on commit f33021e

Please sign in to comment.