MCPcopy
hub / github.com/chartjs/Chart.js / plugins

Function plugins

rollup.config.js:17–44  ·  view source on GitHub ↗
(minify)

Source from the content-addressed store, hash-verified

15 */`;
16const extensions = ['.js', '.ts'];
17const plugins = (minify) =>
18 [
19 json(),
20 resolve({
21 extensions
22 }),
23 swc({
24 jsc: {
25 parser: {
26 syntax: 'typescript'
27 },
28 target: 'es2022'
29 },
30 module: {
31 type: 'es6'
32 },
33 sourceMaps: true
34 }),
35 minify
36 ? terser({
37 output: {
38 preamble: banner
39 }
40 })
41 : cleanup({
42 comments: ['some', /__PURE__/]
43 })
44 ];
45
46export default [
47 // UMD build

Callers 1

rollup.config.jsFile · 0.85

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected