Skip to content

Commit

Permalink
docs: fix build on windows (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehoczky authored Jul 1, 2024
1 parent 4f52734 commit bfc72a4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/build-system/build.mts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Pre-build cjs packages that cannot be bundled well.
*/
import esbuild from 'esbuild'
import path from 'path'
import path from 'pathe'
import fs from 'fs'
import { fileURLToPath } from 'url'

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DefaultTheme } from 'vitepress'
import { defineConfig } from 'vitepress'
import path from 'path'
import path from 'pathe'
import { fileURLToPath } from 'url'
import { viteCommonjs, vitePluginRequireResolve } from './vite-plugin.mjs'

Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/vite-plugin.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { UserConfig } from 'vitepress'
import path from 'path'
import path from 'pathe'
import { fileURLToPath } from 'url'
import esbuild from 'esbuild'
type Plugin = Extract<
Expand Down
1 change: 1 addition & 0 deletions lib/rules/order-in-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ module.exports = {
}

/**
* @param {RuleFixer} fixer
* @param {Property} propertyNode
* @param {Property} unorderedPropertyNode
*/
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"markdownlint-cli": "^0.41.0",
"mocha": "^10.3.0",
"nyc": "^17.0.0",
"pathe": "^1.1.2",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"vitepress": "^1.0.0-rc.42"
Expand Down

0 comments on commit bfc72a4

Please sign in to comment.