Skip to content

TypeError: Cannot read properties of undefined (reading 'tapAsync') in taro@3 #653

@vaynevayne

Description

@vaynevayne
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
// or
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin

   webpackChain(chain, _webpack) {
        if (process.env.ANALYZER) {
          chain.resolve.plugin('webpack-bundle-analyzer').use(BundleAnalyzerPlugin)
        }
    
      },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions