How to use the rollup-plugin-analyzer function in rollup-plugin-analyzer

To help you get started, we’ve selected a few rollup-plugin-analyzer 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 CanopyTax / single-spa / rollup.config.js View on Github external
},
  {
    input: './src/single-spa.js',
    output: {
      file: `./lib/system/single-spa${isProduction ? ".min" : ".dev"}.js`,
      format: 'system',
      sourcemap: true,
    },
    plugins: [
      resolve(),
      commonjs(),
      babel({
        exclude: 'node_modules/**'
      }),
      isProduction && (await import('rollup-plugin-terser')).terser(),
      useAnalyzer && analyzer()
    ]
  },
]))()
github akeneo / pim-community-dev / akeneo-design-system / rollup.config.js View on Github external
const rollUpConf = args => {
    if (args['config-analyze']) {
        plugins.push(
            analyze({
                showExports: true,
                summaryOnly: true,
            })
        );
    }
    return {
        input: 'src/index.ts',
        output: [
            {
                file: pkg.main,
                format: 'es',
                exports: 'named',
                sourcemap: true,
            },
        ],
        watch: {

rollup-plugin-analyzer

Mad metrics for your rollup bundles, know all the things

MIT
Latest version published 4 years ago

Package Health Score

53 / 100
Full package analysis

Popular rollup-plugin-analyzer functions