mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
11 lines
309 B
JavaScript
11 lines
309 B
JavaScript
const baseConfig = require('./webpack.base.config.js')
|
|
|
|
baseConfig.target = 'electron-renderer'
|
|
baseConfig.entry = {
|
|
renderer: './src/renderer.ts',
|
|
}
|
|
baseConfig.output.libraryTarget = 'module'
|
|
baseConfig.output.chunkFormat = 'module'
|
|
baseConfig.experiments.outputModule = true
|
|
|
|
module.exports = baseConfig |