Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.9k views
in Technique[技术] by (71.8m points)

dist/*.dev.js 文件问题

多人开发,git版本控制,我发现有一个人经常会提交这样的目录上来,因为对方修改了a/index.js,提交上来后,在a文件夹下多出来一个dist/index.dev.js,内容如下:

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.numberB0 = numberB0;
exports.getSevenDays = getSevenDays;
exports.getSevenDays2 = getSevenDays2;
exports.dateChange = dateChange;
exports.monthChange = monthChange;
exports.timeChange = timeChange;
exports.timeHMChange = timeHMChange;
exports.dateTimeChange = dateTimeChange;
exports.getNowTime = getNowTime;
exports.dateQjChange = dateQjChange;
exports.getNowTime2 = getNowTime2;
exports.getNewNum = getNewNum;
exports.getPageHeight = getPageHeight;
exports.getPageWidth = getPageWidth;
exports.cascaderBugRepair = cascaderBugRepair;
exports.cascaderShowName = cascaderShowName;
exports.getMd5 = getMd5;
exports.getPower = getPower;
exports.getPower2 = getPower2;
exports.fileIPChange = fileIPChange;
exports.passwordHx = passwordHx;
exports.getMonthDays = getMonthDays;
exports.antModalIco = antModalIco;
exports.NumberMul = NumberMul;
exports.getStr = getStr;
exports.filterOption = filterOption;
exports["default"] = void 0;

var _config = _interopRequireDefault(require("../../../api/config"));

var _crypto = _interopRequireDefault(require("crypto"));

var _power = _interopRequireDefault(require("../config/power"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
....

怎么能阻止这种情况发生。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...