Skip to content

Commit

Permalink
fix: fix devHelper error in umd bundle in browser (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Oct 30, 2020
1 parent e21aa17 commit d11b5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin/devHelper/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-console */
export default (o, c, d) => {
if (process.env.NODE_ENV !== 'production') {
if (!process || process.env.NODE_ENV !== 'production') {
const proto = c.prototype
const oldParse = proto.parse
proto.parse = function (cfg) {
Expand Down

0 comments on commit d11b5ee

Please sign in to comment.