Skip to content

Commit 0f207ce

Browse files
committed
Run dev-expression plugin only in production
1 parent d87bc9e commit 0f207ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

modules/.babelrc

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"stage-1",
55
"react"
66
],
7-
"plugins": [
8-
"babel-plugin-dev-expression"
9-
]
7+
"env": {
8+
"production": {
9+
"plugins": [
10+
"dev-expression"
11+
]
12+
}
13+
}
1014
}

0 commit comments

Comments
 (0)