Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack-bundle-analyzer can't parse bundle built with output.libraryTarget == 'this' #436

Closed
secondfry opened this issue Apr 17, 2021 · 2 comments

Comments

@secondfry
Copy link

Issue description

webpack-bundle-analyzer can't parse bundles built with output.libraryTarget: this (and output.library to its library name).

Technical info

  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 393.32 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
    npm: 7.9.0 - ~/.nvm/versions/node/v14.16.0/bin/npm
    Watchman: 4.9.0 - /Users/secondfry/.brew/bin/watchman
  npmPackages:
    fork-ts-checker-webpack-plugin: ^6.2.1 => 6.2.1
    tsconfig-paths-webpack-plugin: ^3.5.1 => 3.5.1
    webpack: ^4.46.0 => 4.46.0
    webpack-bundle-analyzer: ^4.4.0 => 4.4.0
    webpack-cli: ^4.6.0 => 4.6.0

Debug info

Module is being used as plugin.
Plugin was provided no options.
Other plugins:

tsconfig-paths-webpack-plugin
mini-css-extract-plugin

stats.json file created with following options:

new BundleAnalyzerPlugin({
  analyzerMode: 'disabled',
  generateStatsFile: true,
  // Excludes module sources from stats file so there won't be any sensitive data
  statsOptions: { source: false }
})

stats.json.txt
webpack.config.ts.txt

@secondfry
Copy link
Author

Seems to be duplicate of #372, didn't find it before submitting...

@valscion
Copy link
Member

Ok, closing as a duplicate of #372.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants