Skip to content

Commit 1723da2

Browse files
committed
MoOx#33 Add support for working in browsers
1 parent b95919a commit 1723da2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"presets": [["env", {
33
"targets": {
4-
"node": 4
4+
"node": 4,
5+
"browsers": ["last 2 versions"]
56
}
67
}]],
78
"plugins": ["add-module-exports"],

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"babel-core": "^6.21.0",
2727
"babel-eslint": "^7.1.1",
2828
"babel-plugin-add-module-exports": "^0.2.1",
29-
"babel-preset-env": "^1.4.0",
29+
"babel-preset-env": "^1.6.0",
3030
"babel-register": "^6.18.0",
3131
"cross-env": "^3.1.4",
3232
"del-cli": "^0.2.1",

0 commit comments

Comments
 (0)