btd / rollup-plugin-visualizer

📈⚖️ Visuallize your bundle
MIT License
1.81k stars 54 forks source link

Script only for visualizer #195

Open camila-frangp opened 4 days ago

camila-frangp commented 4 days ago

I need to set up a script that runs only this plugin and not for each build, because my project is a library (monorepo) with lerna, so it generates 1 build for each component for each npm run build

    visualizer({
      open: true,
    }),
btd commented 3 days ago

Sorry, but what is actual question there?

meri-maki commented 2 hours ago

Hello! Also encounter a need to run this plugin on another script (not npm run build) How can I run the visualiser on npm run visualize for example?

camila-frangp commented 38 minutes ago

Exactly, what @meri-maki asks for is what I need.