-
Notifications
You must be signed in to change notification settings - Fork 38
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
Env is undefined in grunt tasks #38
Comments
@mturnwall did you ever get to the bottom of this? |
Bugger.. this is a bug.. I was hoping it was just me doing something silly :( My work around was to not use this plugin but instead add a npm script
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this
env
task:Along with a simply task to test that
process.env.DEST
is getting set correctly.When I run it I get the expected output of
dev
.Now if I use
process.env.DEST
inside another grunt task I get the value asundefined
.You can see the undefined in this line
Files: app/scripts/preload/modernizr.js -> undefined/scripts/preload.js
. It's a simple concat task where I want the output to be different dependent on the environment I set.I've been at this for a day now and have no clue what I'm doing wrong. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: