-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using envify purge option in package.json browserify field #26
Comments
Neat, thanks for posting this as it may definitely help others. Might be rad to add this to the README. |
I also just came across this, and totally It's great to have the ability to set this value in this way. I do wonder whether it might be worth a refactor to support: "browserify": {
"transform": [
["brfs"],
["envify", {"purge": true}]
]
} At the very least adding something to the README to highlight this would be ideal. :) Probably worth a ref: #29 |
I’ve noticed that I can’t override the environment variable if I specify it in the transform. With this in the
and then running:
will produce the output with
you will see I’ve created a test repository if anyone wants to try it out. What‘s the right behaviour here? |
Anyone have an idea if package.json config can be used for props other than
|
It took me a while to get the envify purge option right inside the package.json.
I'm just posting it here for reference.
note: brfs is not needed, it's just showing how to add several transforms.
The text was updated successfully, but these errors were encountered: