You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
421 B
20 lines
421 B
3 weeks ago
|
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' }, { loader: 'postcss-loader' }],
|
||
|
})
|
||
|
|
||
|
export const rendererConfig: Configuration = {
|
||
|
module: {
|
||
|
rules,
|
||
|
},
|
||
|
plugins,
|
||
|
resolve: {
|
||
|
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css'],
|
||
|
},
|
||
|
}
|