mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Add rollup-plugin-analyzer (#8690)
This commit is contained in:
parent
d79b5a3d60
commit
1460477989
6
package-lock.json
generated
6
package-lock.json
generated
@ -3565,6 +3565,12 @@
|
|||||||
"fsevents": "~2.3.1"
|
"fsevents": "~2.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rollup-plugin-analyzer": {
|
||||||
|
"version": "4.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/rollup-plugin-analyzer/-/rollup-plugin-analyzer-4.0.0.tgz",
|
||||||
|
"integrity": "sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"rollup-plugin-cleanup": {
|
"rollup-plugin-cleanup": {
|
||||||
"version": "3.2.1",
|
"version": "3.2.1",
|
||||||
"resolved": "https://registry.npmjs.org/rollup-plugin-cleanup/-/rollup-plugin-cleanup-3.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/rollup-plugin-cleanup/-/rollup-plugin-cleanup-3.2.1.tgz",
|
||||||
|
@ -82,6 +82,7 @@
|
|||||||
"moment": "^2.29.1",
|
"moment": "^2.29.1",
|
||||||
"pixelmatch": "^5.2.1",
|
"pixelmatch": "^5.2.1",
|
||||||
"rollup": "^2.41.4",
|
"rollup": "^2.41.4",
|
||||||
|
"rollup-plugin-analyzer": "^4.0.0",
|
||||||
"rollup-plugin-cleanup": "^3.2.1",
|
"rollup-plugin-cleanup": "^3.2.1",
|
||||||
"rollup-plugin-dts": "^3.0.1",
|
"rollup-plugin-dts": "^3.0.1",
|
||||||
"rollup-plugin-istanbul": "^3.0.0",
|
"rollup-plugin-istanbul": "^3.0.0",
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
const analyze = require('rollup-plugin-analyzer');
|
||||||
const cleanup = require('rollup-plugin-cleanup');
|
const cleanup = require('rollup-plugin-cleanup');
|
||||||
const dts = require('rollup-plugin-dts').default;
|
const dts = require('rollup-plugin-dts').default;
|
||||||
const json = require('@rollup/plugin-json');
|
const json = require('@rollup/plugin-json');
|
||||||
@ -34,6 +35,7 @@ module.exports = [
|
|||||||
cleanup({
|
cleanup({
|
||||||
sourcemap: true
|
sourcemap: true
|
||||||
}),
|
}),
|
||||||
|
analyze({summaryOnly: true})
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
name: 'Chart',
|
name: 'Chart',
|
||||||
|
Loading…
Reference in New Issue
Block a user