Skip to content

Commit

Permalink
fix(project-utils): set anonymous user id during production build
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Jul 1, 2020
1 parent c47f7a1 commit 4cc4990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/project-utils/bundling/app/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports.buildApp = options => {
process.env.NODE_ENV = "production";
process.env.REACT_APP_ENV = "browser";
process.env.REACT_APP_USER_ID = require("@webiny/cli/config").getId();

return require("./createProdConfig")(options);
};
Expand Down

0 comments on commit 4cc4990

Please sign in to comment.