1 Star 0 Fork 37

Doer/MQTTX

forked from EMQX/MQTTX 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vue.config.js 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
module.exports = {
configureWebpack: {
plugins: [
new MonacoWebpackPlugin({
output: 'static/',
languages: ['json', 'javascript'],
features: [
'!accessibilityHelp',
'!bracketMatching',
'caretOperations',
'clipboard',
'codeAction',
'codelens',
'colorDetector',
'!comment',
'!contextmenu',
'coreCommands',
'cursorUndo',
'!dnd',
'!find',
'!folding',
'!fontZoom',
'!format',
'!gotoError',
'!gotoLine',
'!gotoSymbol',
'!hover',
'!iPadShowKeyboard',
'!inPlaceReplace',
'inspectTokens',
'linesOperations',
'!links',
'!multicursor',
'!parameterHints',
'quickCommand',
'quickOutline',
'!referenceSearch',
'!rename',
'smartSelect',
'snippets',
'!suggest',
'!toggleHighContrast',
'toggleTabFocusMode',
'transpose',
'wordHighlighter',
'wordOperations',
'wordPartOperations',
],
}),
],
},
pluginOptions: {
electronBuilder: {
// Prevent bundling of certain imported packages and instead retrieve these external dependencies at runtime.
// In order to connect to websocket.
externals: ['mqtt', 'vm2', 'log4js'],
builderOptions: {
productName: 'MQTTX',
win: {
artifactName: 'MQTTX.Setup.${version}.${ext}',
icon: './public/app.ico',
},
mac: {
icon: './public/icons/Icon.icns',
target: ['pkg', 'dmg', 'zip'],
},
linux: {
icon: './public/app.png',
},
},
},
},
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/Doer/MQTTX.git
git@gitee.com:Doer/MQTTX.git
Doer
MQTTX
MQTTX
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385