1 Star 0 Fork 263

Mike_W / oim-e

forked from OIM即时通讯 / oim-e 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vue.config.js 1.71 KB
一键复制 编辑 原始数据 按行查看 历史
onlyxiahui 提交于 2019-07-02 17:21 . 1.0.0初始
module.exports = {
configureWebpack: {
module: {
rules: [{
test: /\.less$/,
use: [{
loader: 'less-loader', options: {
javascriptEnabled: true,
},
}],
}],
},
// Configuration applied to all builds
},
pluginOptions: {
electronBuilder: {
builderOptions: {
'productName': 'OIM-E',
'appId': 'com.oimchat.oim',
'copyright': 'onlyxiahui',//版权 信息
'dmg': {
'contents': [
{
'x': 410,
'y': 150,
'type': 'link',
'path': '/Applications',
},
{
'x': 130,
'y': 150,
'type': 'file',
},
],
},
'mac': {
'icon': 'build/icons/icon.icns',
},
'win': {
'icon': 'build/icons/icon.ico',
'target': [
{
'target': 'nsis',
'arch': [
'ia32',
],
},
],
},
'linux': {
'icon': 'build/icons',
},
// 'asar': false,
'directories': {
'output': 'dist_electron',
'buildResources': 'build',
'app': 'dist_electron/bundled',
},
'files': ['**/*'],
'extraResources': [
{ // 拷贝dll等静态文件到指定位置
'from': './public/assets',
'to': './app/assets',
},
],
'nsis': {
'oneClick': false,
'allowToChangeInstallationDirectory': true,
'createDesktopShortcut': true,
'createStartMenuShortcut': true,
},
},
},
},
};
JavaScript
1
https://gitee.com/Mike_W/oim-e.git
git@gitee.com:Mike_W/oim-e.git
Mike_W
oim-e
oim-e
master

搜索帮助