@@ -320,15 +320,266 @@ export default defineComponent({
320
320
321
321
exports [` js handler > preProcessRawCode case 0 2` ] = `
322
322
Map {
323
- " flex " => " u " ,
323
+ " justify-between " => " a " ,
324
324
" min-h-screen" => " i" ,
325
- " flex-col" => " o" ,
326
325
" items-center" => " p" ,
327
- " justify-between" => " a" ,
326
+ " flex-col" => " o" ,
327
+ " flex" => " u" ,
328
328
" p-24" => " s" ,
329
329
}
330
330
` ;
331
331
332
+ exports [` js handler > preProcessRawCode case 1 1` ] = `
333
+ "<script setup lang =\\"ts\\">
334
+ import { twMerge } from ' tailwind-merge'
335
+ // 'hover:bg-dark-red i i'
336
+ const aaa = twMerge('px-2 py-1 bg-red-100 hover:bg-red-800', ' p-3 bg-[#B91C1C]' )
337
+
338
+ </script>
339
+
340
+ <template>
341
+ <main class =\\"i i i i i i \\">
342
+ <nav :class=\\"aaa\\">{{ aaa }}</nav>
343
+ <div class =\\"i i i i i i i i\\">
344
+ <p
345
+ class =\\"i i i i i i i i i i i i i i i i i i i i i i i\\">
346
+ Get started by editing
347
+ <code class =\\"i i\\">pages/index.tsx</code>
348
+ </p>
349
+ <div
350
+ class =\\"i i i i i i i i i i i i i i i i i\\">
351
+ <a class =\\"i i i i i i i\\"
352
+ href =\\"https://vercel.com?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app\\"
353
+ target =\\"_blank\\" rel =\\"noopener noreferrer\\">
354
+ By
355
+ <img src =\\"/vite.svg\\" alt =\\"Vercel Logo\\" class =\\"i\\" priority />
356
+ </a>
357
+ </div>
358
+ </div>
359
+
360
+ <div
361
+ class =\\"i i i i i i i i before:bg-gradient-radial i i i i i i i i i after:bg-gradient-conic i i i i i i i i i i\\">
362
+ <img class =\\"i i i\\" src =\\"./assets/vue.svg\\" alt =\\"Next.js Logo\\"
363
+ priority />
364
+ </div>
365
+
366
+ <div class =\\"i i i i i i \\">
367
+ <a href =\\"https://nextjs.org/docs?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app\\"
368
+ class =\\"group i i i i i i i i i i\\"
369
+ target =\\"_blank\\" rel =\\"noopener noreferrer\\">
370
+ <h2 class =\\"i i i i\\">
371
+ Docs <span
372
+ class =\\"i i i i\\">-></span>
373
+ </h2>
374
+ <p class =\\"i i i i\\">Find in-depth information about Next.js
375
+ features and API.</p>
376
+ </a>
377
+
378
+ <a href =\\"https://nextjs.org/learn?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app\\"
379
+ class =\\"group i i i i i i i i i i\\"
380
+ target =\\"_blank\\" rel =\\"noopener noreferrer\\">
381
+ <h2 class =\\"i i i i\\">
382
+ Learn <span
383
+ class =\\"i i i i\\">-></span>
384
+ </h2>
385
+ <p class =\\"i i i i\\">Learn about Next.js in an interactive
386
+ course with quizzes!</p>
387
+ </a>
388
+
389
+ <a href =\\"https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app\\"
390
+ class =\\"group i i i i i i i i i i\\"
391
+ target =\\"_blank\\" rel =\\"noopener noreferrer\\">
392
+ <h2 class =\\"i i i i\\">
393
+ Templates <span
394
+ class =\\"i i i i\\">-></span>
395
+ </h2>
396
+ <p class =\\"i i i i\\">Discover and deploy boilerplate example
397
+ Next.js projects.</p>
398
+ </a>
399
+
400
+ <a href =\\"https://vercel.com/new?utm_source=create-next-app&utm_medium=default-template-tw&utm_campaign=create-next-app\\"
401
+ class =\\"group i i i i i i i i i i\\"
402
+ target =\\"_blank\\" rel =\\"noopener noreferrer\\">
403
+ <h2 class =\\"i i i i\\">
404
+ Deploy <span
405
+ class =\\"i i i i\\">-></span>
406
+ </h2>
407
+ <p class =\\"i i i i\\">Instantly deploy your Next.js site to a
408
+ shareable URL with Vercel.</p>
409
+ </a>
410
+ </div>
411
+ </main>
412
+ </template>
413
+
414
+ <script lang =\\"ts\\">
415
+ import { onMounted , defineComponent } from ' vue'
416
+
417
+ export default defineComponent({
418
+ setup() {
419
+ onMounted (() => {
420
+ const clipPath = ' ' ;
421
+ document .documentElement .animate (
422
+ {
423
+ clipPath
424
+ },
425
+ {
426
+ duration: 500 ,
427
+ easing: /* tw-mangle ignore */ ' i' ,
428
+ pseudoElement: ' ::view-i-new(root)'
429
+ })
430
+ document .documentElement .animate (
431
+ {
432
+ clipPath
433
+ },
434
+ {
435
+ duration: 500 ,
436
+ easing: ' i' ,
437
+ pseudoElement: ' ::view-i-new(root)'
438
+ }
439
+ )
440
+ })
441
+ return {}
442
+ }
443
+ })
444
+
445
+ </script>
446
+
447
+ <style scoped >
448
+ .logo {
449
+ height : 6em ;
450
+ padding : 1.5em ;
451
+ will - change : i ;
452
+ i : i 300ms ;
453
+ }
454
+
455
+ .logo:hover {
456
+ i : i (0 0 2em #646cffaa );
457
+ }
458
+
459
+ .logo.vue:hover {
460
+ i : i (0 0 2em #42b883aa );
461
+ }
462
+ </style >
463
+ "
464
+ ` ;
465
+
466
+ exports [` js handler > preProcessRawCode case 1 2` ] = `
467
+ Map {
468
+ " dark:drop-shadow-[0_0_0.3rem_#ffffff70]" => " i" ,
469
+ " before:dark:bg-gradient-to-br" => " i" ,
470
+ " hover:dark:border-neutral-700" => " i" ,
471
+ " before:dark:from-transparent" => " i" ,
472
+ " hover:dark:bg-neutral-800/30" => " i" ,
473
+ " motion-reduce:transform-none" => " i" ,
474
+ " after:dark:via-[#0141ff]/40" => " i" ,
475
+ " before:dark:to-blue-700/10" => " i" ,
476
+ " group-hover:translate-x-1" => " i" ,
477
+ " after:dark:from-sky-900" => " i" ,
478
+ " before:-translate-x-1/2" => " i" ,
479
+ " dark:border-neutral-800" => " i" ,
480
+ " lg:dark:bg-zinc-800/30" => " i" ,
481
+ " lg:pointer-events-auto" => " i" ,
482
+ " after:translate-x-1/3" => " i" ,
483
+ " before:to-transparent" => " i" ,
484
+ " hover:border-gray-300" => " i" ,
485
+ " transition-transform" => " i" ,
486
+ " before:content-['']" => " i" ,
487
+ " before:lg:h-[360px]" => " i" ,
488
+ " before:rounded-full" => " i" ,
489
+ " dark:bg-zinc-800/30" => " i" ,
490
+ " pointer-events-none" => " i" ,
491
+ " after:content-['']" => " i" ,
492
+ " after:from-sky-200" => " i" ,
493
+ " after:via-blue-200" => " i" ,
494
+ " border-transparent" => " i" ,
495
+ " place-items-center" => " i" ,
496
+ " backdrop-blur-2xl" => " i" ,
497
+ " before:from-white" => " i" ,
498
+ " dark:from-inherit" => " i" ,
499
+ " hover:bg-gray-100" => " i" ,
500
+ " transition-colors" => " i" ,
501
+ " before:h-[300px]" => " i" ,
502
+ " before:w-[480px]" => " i" ,
503
+ " bg-gradient-to-b" => " i" ,
504
+ " bg-gradient-to-t" => " i" ,
505
+ " after:h-[180px]" => " i" ,
506
+ " after:w-[240px]" => " i" ,
507
+ " before:absolute" => " i" ,
508
+ " before:blur-2xl" => " i" ,
509
+ " border-gray-300" => " i" ,
510
+ " dark:from-black" => " i" ,
511
+ " justify-between" => " i" ,
512
+ " after:absolute" => " i" ,
513
+ " after:blur-2xl" => " i" ,
514
+ " dark:via-black" => " i" ,
515
+ " justify-center" => " i" ,
516
+ " lg:bg-gray-200" => " i" ,
517
+ " lg:grid-cols-4" => " i" ,
518
+ " bg-red-200/40" => " i" ,
519
+ " bg-red-200/70" => " i" ,
520
+ " bg-red-200/90" => " i" ,
521
+ " font-semibold" => " i" ,
522
+ " from-zinc-200" => " i" ,
523
+ " lg:rounded-xl" => " i" ,
524
+ " inline-block" => " i" ,
525
+ " items-center" => " i" ,
526
+ " lg:text-left" => " i" ,
527
+ " max-w-[30ch]" => " i" ,
528
+ " min-h-screen" => " i" ,
529
+ " after:-z-20" => " i" ,
530
+ " dark:invert" => " i" ,
531
+ " drop-shadow" => " i" ,
532
+ " text-[16px]" => " i" ,
533
+ " text-center" => " i" ,
534
+ " bg-red-200" => " i" ,
535
+ " from-white" => " i" ,
536
+ " lg:bg-none" => " i" ,
537
+ " opacity-50" => " i" ,
538
+ " rounded-lg" => " i" ,
539
+ " transition" => " i" ,
540
+ " font-bold" => " i" ,
541
+ " font-mono" => " i" ,
542
+ " items-end" => " i" ,
543
+ " lg:border" => " i" ,
544
+ " lg:h-auto" => " i" ,
545
+ " lg:static" => " i" ,
546
+ " lg:w-auto" => " i" ,
547
+ " max-w-5xl" => " i" ,
548
+ " via-white" => " i" ,
549
+ " border-b" => " i" ,
550
+ " bottom-0" => " i" ,
551
+ " ease-out" => " i" ,
552
+ " flex-col" => " i" ,
553
+ " relative" => " i" ,
554
+ " text-2xl" => " i" ,
555
+ " lg:flex" => " i" ,
556
+ " lg:mb-0" => " i" ,
557
+ " text-sm" => " i" ,
558
+ " border" => " i" ,
559
+ " filter" => " i" ,
560
+ " left-0" => " i" ,
561
+ " lg:p-0" => " i" ,
562
+ " lg:p-4" => " i" ,
563
+ " w-full" => " i" ,
564
+ " fixed" => " i" ,
565
+ " gap-2" => " i" ,
566
+ " mb-32" => " i" ,
567
+ " top-0" => " i" ,
568
+ " flex" => " i" ,
569
+ " grid" => " i" ,
570
+ " h-48" => " i" ,
571
+ " mb-3" => " i" ,
572
+ " p-24" => " i" ,
573
+ " pb-6" => " i" ,
574
+ " pt-8" => " i" ,
575
+ " px-5" => " i" ,
576
+ " py-4" => " i" ,
577
+ " z-10" => " i" ,
578
+ " m-0" => " i" ,
579
+ " p-8" => " i" ,
580
+ }
581
+ ` ;
582
+
332
583
exports [` js handler > preserve-fn-case0.js case 0 1` ] = `
333
584
"import { clsx } from \\ "clsx\\ ";
334
585
import { twMerge } from \\ "tailwind-merge\\ ";
0 commit comments