Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit f93b177

Browse files
committed
Merge pull request #2 from jasisk/add-runtime
Add babel-runtime for `Symbol`
2 parents c435e52 + efb00f6 commit f93b177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"scripts": {
77
"clean": "rimraf lib",
8-
"build": "babel src --out-dir lib",
8+
"build": "babel src --optional runtime --out-dir lib",
99
"lint": "eslint src test examples",
1010
"test": "NODE_ENV=test mocha --compilers js:babel/register --recursive",
1111
"test:watch": "NODE_ENV=test mocha --compilers js:babel/register --recursive --watch",
@@ -47,6 +47,7 @@
4747
"react": ">=0.13.3 || ^0.14.0-beta3"
4848
},
4949
"dependencies": {
50+
"babel-runtime": "^5.8.20",
5051
"react-mixin": "^1.7.0"
5152
}
5253
}

0 commit comments

Comments
 (0)