fix esm build error

This commit is contained in:
dntzhang 2018-10-17 11:07:08 +08:00
parent 0263795a64
commit 527733afb6
9 changed files with 6 additions and 22 deletions

View File

@ -1061,10 +1061,6 @@
};
return JSONPatcherProxy;
}();
if (typeof module !== 'undefined') {
module.exports = JSONPatcherProxy;
module.exports.default = JSONPatcherProxy;
}
var timeout = null;
var patchs = {};

File diff suppressed because one or more lines are too long

View File

@ -1058,10 +1058,6 @@ var JSONPatcherProxy = function () {
};
return JSONPatcherProxy;
}();
if (typeof module !== 'undefined') {
module.exports = JSONPatcherProxy;
module.exports.default = JSONPatcherProxy;
}
var timeout = null;
var patchs = {};

File diff suppressed because one or more lines are too long

View File

@ -613,10 +613,6 @@
};
return JSONPatcherProxy;
}();
if ('undefined' != typeof module) {
module.exports = JSONPatcherProxy;
module.exports.default = JSONPatcherProxy;
}
var timeout = null;
var patchs = {};
var handler = function(patch) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -388,8 +388,4 @@ const JSONPatcherProxy = (function() {
return JSONPatcherProxy
})()
export default JSONPatcherProxy
if (typeof module !== 'undefined') {
module.exports = JSONPatcherProxy
module.exports.default = JSONPatcherProxy
}
export default JSONPatcherProxy