更新vite.config.ts以集成compressPlugin和vueDevTools插件,同时调整MeEditorEmoticon.vue中的表情图标尺寸,优化样式。

This commit is contained in:
Phoenix 2025-05-12 14:35:15 +08:00
parent 51a406e5e5
commit 067312cd5c
2 changed files with 8 additions and 8 deletions

View File

@ -185,11 +185,10 @@ const onSendEmoticon = (type: any, value: any, img = '') => {
display: flex;
flex-wrap: wrap;
.option {
height: 32px;
width: 32px;
.option img{
height: 12px;
width: 12px;
margin: 2px;
font-size: 24px;
user-select: none;
transition: all 0.5s;

View File

@ -25,10 +25,11 @@ export default defineConfig(({ mode }) => {
plugins: [
vue(),
vueJsx({}),
// vueDevTools({
// launchEditor:'cursor'
// }),
UnoCSS()
compressPlugin(),
UnoCSS(),
vueDevTools({
launchEditor: 'cursor',
})
],
define: {
__APP_ENV__: env.APP_ENV