Skip to content

Commit

Permalink
fix esm build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Oct 17, 2018
1 parent 0263795 commit 527733a
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 22 deletions.
4 changes: 0 additions & 4 deletions packages/omi/dist/omi.dev.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.dev.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions packages/omi/dist/omi.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.esm.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions packages/omi/dist/omi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/omi/dist/omi.min.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions packages/omi/src/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 527733a

Please sign in to comment.