当前位置:网站首页>Handling of @charset UTF-8 warning problems during vite packaging and construction;
Handling of @charset UTF-8 warning problems during vite packaging and construction;
2022-06-26 01:10:00 【Colesyn L.】
vite When packaging builds @charset utf-8 Warning problem handling ;
In today's vite A warning occurred while packaging Although it doesn't affect user interaction, I still think it should be handled ;
An error is as follows 
terms of settlement
stay vite.config.ts Add css/ and resolve/plugins/server At the same level
css: {
postcss: {
plugins: [
{
postcssPlugin: 'internal:charset-removal',
AtRule: {
charset: atRule => {
if (atRule.name === 'charset') {
atRule.remove();
}
},
},
},
],
},
},
Pack again and find that the warning is gone 
边栏推荐
- Modelsim simulation FFT core cannot be simulated solution (qsys)
- Essence and thoughts of 30 lectures on product thinking
- Chapter V exercises (124, 678, 15, 19, 22) [microcomputer principles] [exercises]
- Preordered clue binary tree
- 【系统架构】-什么是MDA架构、ADL、DSSA
- SVN
- Data synchronization
- Msp430f5529lp official board (red) can not debug the problem
- ciscn_ 2019_ en_ two
- 单选框互斥且可同时取消选中
猜你喜欢

Penetration tool -burpsuite

从查询数据库性能优化谈到redis缓存-谈一谈缓存的穿透、雪崩、击穿

数据分析——切片器、数据透视表与数据透视图(职场必备)

模板引擎——FreeMarker初体验

Duck feeding data instant collection solution resources

Stream data

FIFO code implemented in C language

Summary of push-pull output and open drain output of STM32 and failure of analog IIC driving mlx90615

Installation and startup of redis

Template engine - FreeMarker first experience
随机推荐
下载安装Flume
Preordered clue binary tree
Is it safe for flush software to buy stocks for trading? How to open an account to buy shares
mongodb
Return value is object type method call equals()
[learn FPGA programming from scratch -44]: vision chapter - integrated circuit helps high-quality development in the digital era -1- main forms of integrated circuit chips
CXF
Typescript for Web Learning
Essence and thoughts of 30 lectures on product thinking
JS逆向案例:破解登录密码
Blob
Balanced binary tree AVL
经典面试题之老鼠试药与汉明码
vite打包构建时 @charset utf-8警告问题处理;
Design and process analysis of anti backflow circuit for MOS transistor
Simple deepclone
Optimized three-dimensional space positioning method and its fast implementation in C language
[understanding of opportunity -30]: Guiguzi - internal "chapter - empathy, stand on the other side's position and narrow the psychological distance with the other side
Redis的安装及启动
黑盒测试 — 测试用例 之 判定表法看这一篇就够了