refactor: use pathe instead of node:path (#179)

Closes #178
This commit is contained in:
Ole Marius Løset 2023-11-18 01:55:21 +01:00 committed by GitHub
parent cbb40522dc
commit 87da925085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@
"@vue/compiler-dom": "^3.3.7", "@vue/compiler-dom": "^3.3.7",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.16",
"lodash.template": "^4.5.0", "lodash.template": "^4.5.0",
"pathe": "^1.1.1",
"rimraf": "^5.0.5", "rimraf": "^5.0.5",
"tailwind-merge": "^2.0.0", "tailwind-merge": "^2.0.0",
"tailwindcss": "^3.3.5", "tailwindcss": "^3.3.5",

View File

@ -1,5 +1,5 @@
import { readFile, readdir } from 'node:fs/promises' import { readFile, readdir } from 'node:fs/promises'
import { join, resolve } from 'node:path' import { join, resolve } from 'pathe'
import { compileScript, parse } from 'vue/compiler-sfc' import { compileScript, parse } from 'vue/compiler-sfc'
import type { Registry } from '../../lib/registry' import type { Registry } from '../../lib/registry'