babel-plugin-transform-dev
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -8,6 +8,6 @@ 'use strict'; | ||
function plugin(_ref) { | ||
var t = _ref.types; | ||
var template = _ref.template; | ||
var t = _ref.types, | ||
template = _ref.template; | ||
var expr = template('"production" !== process.env.NODE_ENV')(); | ||
var expr = template('"production" !== process.env.NODE_ENV', { placeholderPattern: false })(); | ||
var bool = t.booleanLiteral('production' !== process.env.NODE_ENV); | ||
@@ -14,0 +14,0 @@ |
{ | ||
"name": "babel-plugin-transform-dev", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A plugin for Babel v6 which replaces `__DEV__` with the result of evaluating `'production' !== process.env.NODE_ENV`.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
5481