Closed ghost closed 8 years ago
From the docs using transforms can be done by adding a transform field:
var elixir = require('laravel-elixir');
var browserify = require('laravel-elixir-browserify');
elixir(function(mix) {
browserify.init();
mix.browserify("bootstrap.js", {
transform: ["envify/custom"],
});
});
Cheers!
I have this in my gulpfile.js
How can I add envify so I could use env variables in my app.jsx ? Thanks