删除env文件

merge-requests/1/head
ch 3 years ago
parent b3c9b0662a
commit d8111ebe57

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-05 14:40:00 * @Date: 2022-05-05 14:40:00
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-05 15:32:20 * @LastEditTime: 2022-05-05 15:40:42
* @Description: 根据git分支生成对应环境的环境变量 * @Description: 根据git分支生成对应环境的环境变量
*/ */
const fs = require('fs'); const fs = require('fs');
@ -12,11 +12,13 @@ const getRepoInfo = require('git-repo-info');
const envConfig = { const envConfig = {
dev : { dev : {
base_url: 'dev'
}, },
test : { test : {
base_url: 'xxx' base_url: 'xxx'
}, },
reslese : { reslese : {
base_url: 'xxx'
}, },
prod : { prod : {

@ -3,8 +3,8 @@
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "nuxt", "dev": "node env.config.js & nuxt",
"build": "nuxt build", "build": "node env.config.js & nuxt build",
"start": "nuxt start", "start": "nuxt start",
"generate": "nuxt generate", "generate": "nuxt generate",
"test": "jest" "test": "jest"

@ -1 +0,0 @@
const ENV = {"base_url":"xxx"}; export default ENV;
Loading…
Cancel
Save