Skip to content

Commit

Permalink
run bechmarks mostly dist file (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartveneman authored Aug 9, 2024
1 parent c662d1c commit bc42b86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benchmark/benchmark.js
Original file line number Diff line number Diff line change
@@ -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__')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bc42b86

Please sign in to comment.