How to use the @bundle-stats/utils.modulesWebpackTransform function in @bundle-stats/utils

To help you get started, we’ve selected a few @bundle-stats/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github relative-ci / bundle-stats / packages / ui / src / components / bundle-chunk-modules / bundle-chunk-modules.stories.jsx View on Github external
].map((job) => ({
  meta: job,
  ...modulesWebpackTransform(get(job, 'rawData.webpack.stats')),
}));
github relative-ci / bundle-stats / packages / ui / src / components / bundle-packages / bundle-packages.container.js View on Github external
const jobsPackages = jobs.map((job) => {
      const bundle = modulesWebpackTransform(get(job, 'rawData.webpack.stats'));
      const res = packagesModulesBundleTransform(bundle);
      return res.packages;
    });
github relative-ci / bundle-stats / packages / ui / src / components / bundle-modules / bundle-modules.jsx View on Github external
const runs = jobs.map((job) => ({
    meta: job,
    ...modulesWebpackTransform(get(job, 'rawData.webpack.stats')),
  }));