message: bug: Fix browser building
diff: @@ -147,27 +147,27 @@ async function cloneRemotePlugin(cb) {
  }
  async function installRemoteDeps(cb) {
  - exec(
  - 'npm install',
  - {
  + const installProcess = spawn('npm', ['install'], {
  cwd: remotePluginTemp,
  - },
  - () => {
  + shell: true,
  + })
  +
  + installProcess.on('close', (err, output) => {
  + if (err === 1) console.log(output)
  cb()
  - },
  - )
  + })
  }
  async function buildRemote(cb) {
  - exec(
  - 'npm run build',
  - {
  + const buildProcess = spawn('npm', ['run build'], {
  cwd: remotePluginTemp,
  - },
  - () => {
  + shell: true,
  + })
  +
  + installProcess.on('close', (err, output) => {
  + if (err === 1) console.log(output)
  cb()
  - },
  - )
  + })
  }
  async function copyRemoteDist(cb) {
  