diff --git a/packages/tailwindcss/css-parser.bench.ts b/packages/tailwindcss/src/css-parser.bench.ts similarity index 67% rename from packages/tailwindcss/css-parser.bench.ts rename to packages/tailwindcss/src/css-parser.bench.ts index 8c7445229..6bf059ad4 100644 --- a/packages/tailwindcss/css-parser.bench.ts +++ b/packages/tailwindcss/src/css-parser.bench.ts @@ -1,8 +1,8 @@ import { readFileSync } from 'node:fs' import { bench } from 'vitest' -import * as CSS from './src/css-parser.ts' +import * as CSS from './css-parser.ts' -const currentFolder = new URL('.', import.meta.url).pathname +const currentFolder = new URL('..', import.meta.url).pathname const cssFile = readFileSync(currentFolder + './preflight.css', 'utf-8') bench('css-parser on preflight.css', () => {