Skip to content

Commit 383f0a1

Browse files
committed
fix(benchpress): add index to root of module
This is necessary when using require('benchpress') in node.
1 parent e323c07 commit 383f0a1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

modules/benchpress/index.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
library benchpress.index;
2+
//no dart implementation

modules/benchpress/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require(require('traceur').RUNTIME_PATH);
2+
module.exports = require('./benchpress.js');

0 commit comments

Comments
 (0)