1 Star 0 Fork 0

NingerJohn/simple-player

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vue.config.js 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
NingerJohn 提交于 2021-08-19 23:40 . update store in layout
// vue.config.js
const webpack = require('webpack');
module.exports = {
pluginOptions: {
electronBuilder: {
// List native deps here if they don't work
externals: ['ffmpeg-static', 'ffprobe-static'],
nodeModulesPath: ['../../node_modules', './node_modules'],
nodeIntegration: true,
builderOptions: {
// options placed here will be merged with default configuration and passed to electron-builder
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true
},
"files": "!node_modules/ffprobe-static/**/*",
"win": {
"target": "portable",
"extraResources": {
"from": "node_modules/ffprobe-static/bin/win32/x64"
}
}
},
}
},
configureWebpack: {
plugins: [
new webpack.DefinePlugin({
'process.env.FLUENTFFMPEG_COV': false // https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/issues/998#issuecomment-643605939
})
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/ningerjohn/simple-player.git
[email protected]:ningerjohn/simple-player.git
ningerjohn
simple-player
simple-player
master

搜索帮助