Skip to content

Commit

Permalink
🔨 Added global transform in 'envify' config
Browse files Browse the repository at this point in the history
This is an attempt to address the React's 'use production build' console warning with reference to reduxjs/redux#1298 (comment)
  • Loading branch information
jimmyzhen committed Aug 28, 2017
1 parent 605b288 commit 53b8aa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = function(grunt) {
transform: [
['babelify', {sourceMaps: true, babelrc: true}],
'brfs',
'envify'
['envify', {global: true}]
],
plugin: [
['minifyify', {
Expand Down Expand Up @@ -88,7 +88,7 @@ module.exports = function(grunt) {
transform: [
['babelify', {sourceMaps: true, babelrc: true}],
'brfs',
'envify'
['envify', {global: true}]
],
plugin: [
['minifyify', {
Expand All @@ -110,7 +110,7 @@ module.exports = function(grunt) {
transform: [
['babelify', {sourceMaps: true, babelrc: true}],
'brfs',
'envify'
['envify', {global: true}]
],
plugin: [
['minifyify', {
Expand Down

0 comments on commit 53b8aa6

Please sign in to comment.