Skip to content

Commit

Permalink
fix(site): disable css parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed May 25, 2023
1 parent 2a9a3de commit c8c6fa0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { runtime } from '@antv/g';

runtime.enableCSSParsing = false;

export {
render,
renderToMountedElement,
Expand All @@ -10,8 +14,13 @@ export {
LABEL_CLASS_NAME,
AREA_CLASS_NAME,
} from './runtime';

export type { G2Context } from './runtime';

export { createLibrary } from './stdlib';

export { Chart, MarkNode, CompositionNode, register } from './api';
export * from './spec';

export { ChartEvent } from './utils/event';

export * from './spec';

0 comments on commit c8c6fa0

Please sign in to comment.