Fix build issues

This commit is contained in:
Sam Nolan 2022-04-04 14:53:55 +10:00
parent 9e472d57e9
commit de1c1d4e7e
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ const custom = require('../webpack.config.js');
module.exports = { module.exports = {
webpackFinal: async (config) => { webpackFinal: async (config) => {
config.resolve.alias = custom.resolve.alias; 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": [ "stories": [
"../src/**/*.stories.mdx", "../src/**/*.stories.mdx",

View File

@ -3,7 +3,7 @@ import ReactDOM from "react-dom"
import { SquiggleChart } from "./SquiggleChart" import { SquiggleChart } from "./SquiggleChart"
import CodeEditor from "./CodeEditor" import CodeEditor from "./CodeEditor"
import { Form, Input, Card, Row, Col } from "antd" import { Form, Input, Card, Row, Col } from "antd"
import 'antd/dist/antd.min.css'; import 'antd/dist/antd.css';
interface FieldFloatProps { interface FieldFloatProps {
label : string, label : string,