Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Use default export for the configs
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonrd committed Dec 3, 2020
1 parent 91e7f71 commit 6c65f0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config/config.development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

export const config = {
export default {
environment: 'development'
};
2 changes: 1 addition & 1 deletion src/config/config.production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

export const config = {
export default {
environment: 'production'
};
2 changes: 1 addition & 1 deletion src/config/config.staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

export const config = {
export default {
environment: 'staging'
};
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

import { config as environmentConfig } from './config.development';
import environmentConfig from './config.development';

const sharedConfig = {
name: 'MyApplication',
Expand Down

0 comments on commit 6c65f0e

Please sign in to comment.