diff --git a/index.js b/index.js index 40fd2e765..395e3d64e 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,2 @@ "use strict"; -module.exports = require("./src"); +module.exports = require("./src/index"); diff --git a/src/index-debug.js b/src/index-debug.js index 0ea1166a2..27c966075 100644 --- a/src/index-debug.js +++ b/src/index-debug.js @@ -2,7 +2,7 @@ // might eventually become a starting point for a real debug build. "use strict"; -var protobuf = module.exports = require("."); +var protobuf = module.exports = require("./index"); // Count number of calls to any generated function protobuf.util.codegen = (function(codegen) { return function codegen_debug() {