mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-13 17:45:10 +08:00
Config -- added base config object for env-independent settings
This commit is contained in:
+5
-2
@@ -1,7 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
const config = {
|
||||
import baseConfig from './base';
|
||||
|
||||
|
||||
let config = {
|
||||
appEnv: 'dev' // feel free to remove the appEnv property here
|
||||
};
|
||||
|
||||
export default config;
|
||||
export default Object.freeze(Object.assign({}, baseConfig, config));
|
||||
|
||||
Reference in New Issue
Block a user