diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 561f005..42cc6fb 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -1,7 +1,7 @@ import { Bench } from "tinybench" import { withCodSpeed } from "@codspeed/tinybench-plugin" import * as fs from "fs" -import { analyze } from '../src/index.js' +import { analyze } from '../dist/analyze-css.js' import { namedColors, systemColors, colorKeywords } from "../src/values/colors.js" let filelist = fs.readdirSync('./src/__fixtures__') diff --git a/package.json b/package.json index 147dc6a..7158bc2 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "scripts": { "test": "uvu", "build": "vite build", - "benchmark": "node benchmark/benchmark.js" + "benchmark": "npm run build && node benchmark/benchmark.js" }, "keywords": [ "projectwallace",