mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2026-10-08 04:11:26 +00:00
47 lines
960 B
JavaScript
47 lines
960 B
JavaScript
module.exports = {
|
|
pluginOptions: {
|
|
electronBuilder: {
|
|
nodeIntegration: true,
|
|
externals: ['electron-overlay-window', 'uiohook-napi'],
|
|
builderOptions: {
|
|
publish: ['github'],
|
|
productName: 'Awakened PoE Trade',
|
|
npmRebuild: false,
|
|
nsis: {
|
|
oneClick: false,
|
|
allowToChangeInstallationDirectory: true
|
|
},
|
|
win: {
|
|
target: ['nsis', 'portable']
|
|
},
|
|
linux: {
|
|
target: ['AppImage']
|
|
}
|
|
}
|
|
}
|
|
},
|
|
configureWebpack: {
|
|
resolve: {
|
|
fallback: {
|
|
path: false,
|
|
fs: false
|
|
}
|
|
}
|
|
},
|
|
chainWebpack: (config) => {
|
|
config.module
|
|
.rule('i18n')
|
|
.resourceQuery(/blockType=i18n/)
|
|
.type('javascript/auto')
|
|
.use('i18n')
|
|
.loader('@intlify/vue-i18n-loader')
|
|
.end()
|
|
|
|
config.module
|
|
.rule('raw')
|
|
.resourceQuery(/raw/)
|
|
.type('asset/source')
|
|
.end()
|
|
}
|
|
}
|