Skip to content

Commit

Permalink
Merge pull request #55 from niieani/patch-1
Browse files Browse the repository at this point in the history
fix incorrect file being required (#54)
  • Loading branch information
ivanakimov authored Sep 16, 2018
2 parents 45dabf3 + daf5de7 commit 98e5084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/hashids.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
// this file here is for backwards compatibility with an earlier CommonJS version
const Hashids = require("./hashids").default;
const Hashids = require("./index").default;
Object.defineProperty(Hashids, "__esModule", {value: true});
Hashids.default = module.exports;
module.exports = Hashids;

0 comments on commit 98e5084

Please sign in to comment.