Skip to content

Commit 579abd6

Browse files
committed
Merge pull request #402 from HughePaul/feature-requirefordistdir
Add index.js file that returns the dist location when require()d
2 parents 1f6aa46 + 99b3f7d commit 579abd6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
var pack = require('./package');
2+
var path = require('path');
3+
4+
module.exports = {
5+
version: pack.version,
6+
dist: path.resolve(__dirname, 'dist')
7+
};

0 commit comments

Comments
 (0)