-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ | |
|
||
## Unreleased | ||
|
||
## 0.6.0 | ||
|
||
Publish as ESM | ||
|
||
## 0.5.1 | ||
|
||
Fix TS imports in bundle | ||
|
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"bench": "./gen.ts && cd fixtures && hyperfine --runs 5 'cd downwind && vite build' 'cd none && vite build' 'cd tailwindcss && vite build' 'cd unocss && vite build' 'cd windicss && vite build'" | ||
"bench": "./gen.ts && cd fixtures && hyperfine --runs 5 'cd downwind && vite build' 'cd none && vite build' 'cd tailwindcss && vite build' 'cd unocss && vite build'" | ||
}, | ||
"devDependencies": { | ||
"autoprefixer": "^10.4.12", | ||
"tailwindcss": "^3.1.8", | ||
"unocss": "^0.45.26", | ||
"vite": "^3.1.6", | ||
"vite-plugin-windicss": "^1.8.8", | ||
"windicss": "^3.5.6" | ||
"autoprefixer": "^10.4.14", | ||
"tailwindcss": "^3.3.2", | ||
"unocss": "^0.51.12", | ||
"vite": "^4.3.5", | ||
"vite-plugin-windicss": "^1.9.0" | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Benchmark 1: cd downwind && vite build | ||
Time (mean ± σ): 470.8 ms ± 17.2 ms [User: 525.2 ms, System: 75.4 ms] | ||
Range (min … max): 457.8 ms … 498.8 ms 5 runs | ||
|
||
Benchmark 2: cd none && vite build | ||
Time (mean ± σ): 344.2 ms ± 10.6 ms [User: 344.2 ms, System: 53.8 ms] | ||
Range (min … max): 332.1 ms … 357.8 ms 5 runs | ||
|
||
Benchmark 3: cd tailwindcss && vite build | ||
Time (mean ± σ): 1.363 s ± 0.015 s [User: 2.460 s, System: 0.143 s] | ||
Range (min … max): 1.345 s … 1.386 s 5 runs | ||
|
||
Benchmark 4: cd unocss && vite build | ||
Time (mean ± σ): 711.5 ms ± 9.7 ms [User: 947.3 ms, System: 101.4 ms] | ||
Range (min … max): 698.9 ms … 721.5 ms 5 runs | ||
|
||
Summary | ||
'cd none && vite build' ran | ||
1.37 ± 0.07 times faster than 'cd downwind && vite build' | ||
2.07 ± 0.07 times faster than 'cd unocss && vite build' | ||
3.96 ± 0.13 times faster than 'cd tailwindcss && vite build' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import { useState } from "react"; | ||
|
||
import styles from "./app.module.css"; | ||
|
||
export const App = () => { | ||
|