We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81b499 commit 54ec45fCopy full SHA for 54ec45f
rollup.config.mjs
@@ -3,7 +3,7 @@ import typescript from "rollup-plugin-typescript2";
3
import commonjs from "@rollup/plugin-commonjs";
4
import json from "@rollup/plugin-json";
5
import terser from "@rollup/plugin-terser";
6
-import pkg from "./package.json" assert { type: "json" };
+import pkg from "./package.json" with { type: "json" };
7
8
const external = ["assert"];
9
src/index.ts
@@ -1,5 +1,5 @@
1
2
-import Chart from 'chart.js';
+import Chart from 'chart.js/auto';
import { ChartDatasourcePrometheusPlugin } from './plugin';
export default new ChartDatasourcePrometheusPlugin();
0 commit comments