mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-12-14 22:30:31 +08:00
perf: update
This commit is contained in:
@@ -39,23 +39,6 @@ export default ({ command, mode }: ConfigEnv): UserConfigExport => {
|
||||
resolve: {
|
||||
alias
|
||||
},
|
||||
css: {
|
||||
// https://github.com/vitejs/vite/issues/5833
|
||||
postcss: {
|
||||
plugins: [
|
||||
{
|
||||
postcssPlugin: "internal:charset-removal",
|
||||
AtRule: {
|
||||
charset: atRule => {
|
||||
if (atRule.name === "charset") {
|
||||
atRule.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
// 服务端渲染
|
||||
server: {
|
||||
// 是否开启 https
|
||||
|
||||
Reference in New Issue
Block a user