Skip to content

Commit

Permalink
fix incorrect file being required (#54)
Browse files Browse the repository at this point in the history
fixes #54
  • Loading branch information
niieani authored Sep 16, 2018
1 parent 45dabf3 commit daf5de7
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 daf5de7

Please sign in to comment.