You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
289 B
13 lines
289 B
import * as development from "./development";
|
|
import * as production from "./production"
|
|
|
|
let config;
|
|
if (process.env.NODE_ENV === 'development') {
|
|
console.log('开发环境');
|
|
config = development
|
|
} else {
|
|
console.log('生产环境');
|
|
config = production
|
|
}
|
|
|
|
export default config
|
|
|