Skip to content

Commit

Permalink
feat(CarbonCharts): Support Carbon Charts (#1051)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Cedrone <[email protected]>
Co-authored-by: ccedrone <[email protected]>
Co-authored-by: vverein <[email protected]>
  • Loading branch information
4 people authored May 13, 2024
1 parent f544894 commit 1bb49bb
Show file tree
Hide file tree
Showing 29 changed files with 105,169 additions and 18,091 deletions.
5 changes: 5 additions & 0 deletions .changeset/carbon-charts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@react-magma/charts': minor
---

feat(CarbonCharts): Support Carbon Charts
10 changes: 8 additions & 2 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ module.exports = {
// check: true,
},
webpackFinal: async config => {
return {
...config,

config.module.rules[0].exclude = /node_modules\/(?!(@carbon)\/).*/;
return {
...config,
devtool: false,
module: {
...config.module,
},
// devtool: 'eval',
resolve: {
...config.resolve,
Expand Down
3 changes: 0 additions & 3 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import * as React from 'react';
import { GlobalStyles } from '../packages/react-magma-dom/src/theme/GlobalStyles';
import { INITIAL_VIEWPORTS } from '@storybook/addon-viewport';

import styled from '@emotion/styled';
global._styled = styled;

const withMagma = (StoryFn: Function, context: StoryContext) => {
return (
<div>
Expand Down
Loading

2 comments on commit 1bb49bb

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.