Skip to content

Commit

Permalink
Envify should also apply to modules in node_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
electerious committed Jan 9, 2017
1 parent c73f724 commit 99482c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ module.exports = function(filePath, opts) {

presets: [ 'latest', 'react' ]

}).transform(envify(
}).transform(envify(env, {

env
global: true

)).bundle((err, result) => {
})).bundle((err, result) => {

if (err!=null) return reject(err)

Expand Down

0 comments on commit 99482c2

Please sign in to comment.