diff --git a/packages/components/.storybook/main.js b/packages/components/.storybook/main.js index 60f2ee5d..7be66cf0 100644 --- a/packages/components/.storybook/main.js +++ b/packages/components/.storybook/main.js @@ -4,7 +4,7 @@ const custom = require('../webpack.config.js'); module.exports = { webpackFinal: async (config) => { config.resolve.alias = custom.resolve.alias; - return { ...config, module: { ...config.module, rules: config.module.rules.concat(custom.module.rules) } }; + return { ...config, module: { ...config.module, rules: config.module.rules.concat(custom.module.rules.filter(x => x.loader === "ts-loader")) } }; }, "stories": [ "../src/**/*.stories.mdx", diff --git a/packages/components/src/SquigglePlayground.tsx b/packages/components/src/SquigglePlayground.tsx index fd8eb488..df3d4734 100644 --- a/packages/components/src/SquigglePlayground.tsx +++ b/packages/components/src/SquigglePlayground.tsx @@ -3,7 +3,7 @@ import ReactDOM from "react-dom" import { SquiggleChart } from "./SquiggleChart" import CodeEditor from "./CodeEditor" import { Form, Input, Card, Row, Col } from "antd" -import 'antd/dist/antd.min.css'; +import 'antd/dist/antd.css'; interface FieldFloatProps { label : string,