rollup-plugin-visualizer
Advanced tools
Comparing version 5.3.1 to 5.3.2
# Changelog | ||
## 5.3.2 | ||
* CLI now remove output file if exists before write | ||
## 5.3.1 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "rollup-plugin-visualizer", | ||
"version": "5.3.1", | ||
"version": "5.3.2", | ||
"main": "./dist/plugin/index.js", | ||
@@ -5,0 +5,0 @@ "author": "Denis Bardadym <bardadymchik@gmail.com>", |
@@ -25,3 +25,3 @@ # Rollup Plugin Visualizer | ||
Version V5 contains seveal minor breaking changes, depending your current installation takes such steps for upgrade: | ||
Version V5 contains seveal minor breaking changes, depending your current installation take such steps before upgrade: | ||
@@ -43,2 +43,5 @@ - If you are using rollup v1.x, then you'd better to stay on v4 of plugin. I officially stopped support v1 of rolloup myself. Some versions of 1.x will work without issues, but i stop testing myself or add any changes in this direction. If somebody wants to contibute in this direction - welcome. | ||
plugins: [ | ||
// other plugins | ||
// .... | ||
// | ||
visualizer() | ||
@@ -52,6 +55,9 @@ ], | ||
```javascript | ||
const { visulizer } = require('rollup-plugin-visualizer'); | ||
const { visualizer } = require('rollup-plugin-visualizer'); | ||
//... | ||
plugins: [ | ||
// other plugins | ||
// .... | ||
// | ||
visualizer() | ||
@@ -68,3 +74,3 @@ ], | ||
`sourcemap` (boolean, default `false`) - Use sourcemaps to calculate sizes (e.g. after UglifyJs or Terser) | ||
`sourcemap` (boolean, default `false`) - Use sourcemaps to calculate sizes (e.g. after UglifyJs or Terser). **Always add plugin as last option.** | ||
@@ -115,5 +121,1 @@ `open` (boolean, default `false`) - Open generated file in default user agent | ||
See CHANGELOG.md. | ||
## Acknowledgements | ||
Initially this plugin was based on `webpack-visualizer`, but in the end used only styles and layout. Thanks to the tons of people around internet for great examples of d3 usage. Also i would like to thank you Mike Bostock for awesome D3, and tons of examples. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1995097
13247
117