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

Commit b847767

Browse files
committed
Add transform runtime for #3
1 parent 9bf35d6 commit b847767

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"plugins": ["transform-decorators-legacy"],
2+
"plugins": ["transform-decorators-legacy", "transform-runtime"],
33
"presets": ["es2015-loose", "stage-0", "react"]
44
}

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 --optional runtime --out-dir lib",
8+
"build": "babel src --out-dir lib",
99
"lint": "eslint src test examples",
1010
"test": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive",
1111
"test:watch": "NODE_ENV=test mocha --compilers js:babel-core/register --recursive --watch",
@@ -51,6 +51,7 @@
5151
"react": "^0.14.0"
5252
},
5353
"dependencies": {
54+
"babel-plugin-transform-runtime": "^6.5.0",
5455
"babel-runtime": "^6.3.13",
5556
"react-mixin": "^1.7.0"
5657
}

0 commit comments

Comments
 (0)