Skip to content

Commit

Permalink
Format MIX_ENV value into a string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krapaince committed Jan 31, 2024
1 parent 38dcb0b commit 5ead9fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule Mix.Tasks.Webpack.Compile do
[webpack, "--config", config, "--json"],
into: "",
cd: WebPack.Util.web_app(),
env: [{"MIX_ENV", Mix.env()}]
env: [{"MIX_ENV", "#{Mix.env()}"}]
)
end
end
Expand Down

0 comments on commit 5ead9fd

Please sign in to comment.