Commit b59be220 by Marcus Andersson Committed by GitHub

Build: fixing failing release packaged build due to uPlot dependency not properly setup (#27887)

* removed dependency from grafana/ui on public/app.

* fixed so we don't get rollup issues when building the packages.

* fixed so import path is working properly.

* removed uncommented code.
parent 34a355fe
......@@ -12,3 +12,4 @@
@import 'TimePicker/TimeOfDayPicker';
@import 'Tooltip/Tooltip';
@import 'Slider/Slider';
@import 'uPlot/Plot';
// importing the uPlot css so it will be bundled with the rest of the styling.
@import '../../node_modules/uplot/dist/uPlot.min.css';
import 'uplot/dist/uPlot.min.css';
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
import { css } from 'emotion';
import uPlot from 'uplot';
......
import React from 'react';
import uPlot from 'uplot';
import { DataFrame, FieldColor, TimeRange, TimeZone } from '@grafana/data';
import { NullValuesMode } from '../../../../../public/app/plugins/panel/graph3/types';
export type NullValuesMode = 'null' | 'connected' | 'asZero';
export enum MicroPlotAxisSide {
top = 0,
......
import { LegendOptions, GraphTooltipOptions } from '@grafana/ui';
export type NullValuesMode = 'null' | 'connected' | 'asZero';
export type LegendPlacement = 'top' | 'bottom' | 'left' | 'right';
export interface GraphOptions {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment