Karsa 2 yıl önce
ebeveyn
işleme
76a652ac12
1 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  1. 16 0
      vite.config.ts

+ 16 - 0
vite.config.ts

@@ -33,4 +33,20 @@ export default defineConfig({
 			'@': path.resolve(__dirname, './src')
 		},
 	},
+	css: {
+		postcss: {
+			plugins: [
+				{
+					postcssPlugin: 'internal:charset-removal',
+					AtRule: {
+						charset: (atRule) => {
+							if (atRule.name === 'charset') {
+								atRule.remove()
+							}
+						}
+					}
+				}
+			]
+		}
+	}
 })