perf: optimize css volume

This commit is contained in:
vben
2021-08-25 23:04:15 +08:00
parent 0b0a7ceef9
commit 466d4edcd0
4 changed files with 3 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ export default defineConfig({
* Used for animation when the element is displayed
* @param maxOutput The larger the maxOutput output, the larger the generated css volume
*/
function createEnterPlugin(maxOutput = 10) {
function createEnterPlugin(maxOutput = 8) {
const createCss = (index: number, d = 'x') => {
const upd = d.toUpperCase();
return {