Skip to content

Commit

Permalink
fix(cli): fixed process undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcaufy committed May 25, 2019
1 parent daee330 commit c6ca34c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/core/plugins/build/vendor.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ const path = require('path');


const VENDOR_INJECTION = [`
var windows = {};
var process = { env: {} };
var global = {};
(function(modules) {
// The module cache
var installedModules = {};
Expand Down

0 comments on commit c6ca34c

Please sign in to comment.