tell me how to configure webpack and how to import css
see that the effect of the page should be that css is not loaded into
rules: [
{
test: /\.ts(x?)$/,
use: [
{
loader: "awesome-typescript-loader",
options: {
}
}
]
},
{
test: /\.css$/,
use:[
"style-loader",
{
loader: "typings-for-css-modules-loader",
options: {
modules: true,
namedExport: true
}
}
]
}
]
import { DatePicker } from "antd";
import * as style from "antd/dist/antd.css";