Skip to content

Commit 2c731a9

Browse files
committed
fix(dist): add module.exports to lib
1 parent be97680 commit 2c731a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["es2015"]
2+
"presets": ["es2015"],
3+
"plugins": ["add-module-exports"]
34
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
],
3333
"devDependencies": {
3434
"babel-cli": "^6.3.17",
35+
"babel-plugin-add-module-exports": "^0.1.2",
3536
"babel-preset-es2015": "^6.3.13",
3637
"babel-register": "^6.3.13",
3738
"mocha": "^2.3.4",

0 commit comments

Comments
 (0)