Skip to content

Commit b83576e

Browse files
authored
colocate css-parser benchmark file in src folder (tailwindlabs#13543)
1 parent cc8c069 commit b83576e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tailwindcss/css-parser.bench.ts renamed to packages/tailwindcss/src/css-parser.bench.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { readFileSync } from 'node:fs'
22
import { bench } from 'vitest'
3-
import * as CSS from './src/css-parser.ts'
3+
import * as CSS from './css-parser.ts'
44

5-
const currentFolder = new URL('.', import.meta.url).pathname
5+
const currentFolder = new URL('..', import.meta.url).pathname
66
const cssFile = readFileSync(currentFolder + './preflight.css', 'utf-8')
77

88
bench('css-parser on preflight.css', () => {

0 commit comments

Comments
 (0)