module.exports={plugins:[// put it the last onevisualizer(),],}; Usage with rolldown (rolldown.config.ts) import{defineConfig,typeRolldownPlugin}from'rolldown';exportdefaultdefineConfig({plugins:[visualizer()asRolldownPlugin],}) Usage with vite (vite.config.js) ...
// es import { visualizer } from "rollup-plugin-visualizer"; // or // cjs const { visualizer } = require("rollup-plugin-visualizer"); Usage with rollup (rollup.config.js) module.exports = { plugins: [ // put it the last one visualizer(), ], }; Usage with rolldown (rolldown.con...
复制代码npm install rollup-plugin-visualizer -D vite配置 // vite.config.js import { defineConfig } from 'vite' import { visualizer } from 'rollup-plugin-visualizer' export default defineConfig({ plugins: [visualizer()] }) 打包后,会在根目录下生成一个 stats.html文件,用浏览器打开后,如下图:...
"rollup-plugin-visualizer":"^5.9.2", "sass":"^1.68.0", "sass-loader":"^13.3.2", "taze":"^0.11.2", Expand Down 254 changes: 242 additions & 12 deletions254pnpm-lock.yaml Load diff Large diffs are not rendered by default.
Visualize and analyze your bundle withRollup Plugin Visualizer Installation You can generate thenuse this template Usage PNPM $ pnpm start // or $ pnpm dev // or $ pnpm run serve NPM $ npm start // or $ npm run dev // or $ npm run serve ...
This PR contains the following updates: Package Change Age Adoption Passing Confidence rollup-plugin-visualizer 5.12.0 -> 5.13.1 Release Notes btd/rollup-plugin-visualizer (rollup-p...
Describe the bug When running vite build --emptyOutDir --debug and using rollup-plugin-visualizer with sourcemap set to true I see Rollup console output like this: Sourcemap is likely to be incorrect: a plugin (vite:css) was used to tran...
Bumps rollup-plugin-visualizer from 5.13.1 to 5.14.0. Changelog Sourced from rollup-plugin-visualizer's changelog. 5.14.0 Return flamegraph 5.13.0 Remove flamegraph template Merge #191. Thanks...
"build:visualize":"BUILD_VISUALIZER=true vite build -m production", 3132 "copy:css-variables":"copyfiles -f src/styles/_variables.scss dist", 3233 "build":"yarn build:cli && yarn stylelint && yarn lint && yarn build:kongponents && yarn build:docs", ...
serve- Development Server in a Plugin. sizes- Display bundle content and size in the console. size-snapshot- Track bundle size and treeshakability with ease. visualizer- Bundle and dependency visualizer. Code Quality Plugins which help with code quality. ...