mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-23 09:00:31 +00:00
8 lines
258 B
TypeScript
8 lines
258 B
TypeScript
import { fileURLToPath } from 'node:url'
|
|
|
|
export const componentsFixtureDir = fileURLToPath(new URL('components-fixture', import.meta.url))
|
|
|
|
export function normalizeLineEndings (str: string, normalized = '\n') {
|
|
return str.replace(/\r?\n/g, normalized)
|
|
}
|