更新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; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
.option { .option img{
height: 32px; height: 12px;
width: 32px; width: 12px;
margin: 2px; margin: 2px;
font-size: 24px;
user-select: none; user-select: none;
transition: all 0.5s; transition: all 0.5s;

View File

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