20 lines
396 B
TypeScript
20 lines
396 B
TypeScript
|
import type { Configuration } from "webpack";
|
||
|
|
||
|
import { rules } from "./webpack.rules";
|
||
|
import { plugins } from "./webpack.plugins";
|
||
|
|
||
|
rules.push({
|
||
|
test: /\.css$/,
|
||
|
use: [{ loader: "style-loader" }, { loader: "css-loader" }],
|
||
|
});
|
||
|
|
||
|
export const rendererConfig: Configuration = {
|
||
|
module: {
|
||
|
rules,
|
||
|
},
|
||
|
plugins,
|
||
|
resolve: {
|
||
|
extensions: [".js", ".ts", ".jsx", ".tsx", ".css"],
|
||
|
},
|
||
|
};
|