Skip to content

Commit

Permalink
fix(client): hotfix for Babel bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Jul 16, 2018
1 parent 80ca119 commit 73d1e29
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/app/client/app/app.constants.js
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
export * from '../../server/config/environment/shared';
<% if(filters.ts) { %>export * from '../../server/config/environment/shared';<% } else { %>
// https://github.com/babel/babel/issues/2877
import * as shared from '../../server/config/environment/shared';

export const env = shared.env;
export const port = shared.port;
export const userRoles = shared.userRoles;<% } %>

0 comments on commit 73d1e29

Please sign in to comment.