Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 302 Bytes

integration-normalizePath.md

File metadata and controls

14 lines (10 loc) · 302 Bytes
@vanilla-extract/integration
minor

Export a normalizePath function that converts path separators to forward slashes

Example usage

import { normalizePath } from '@vanilla-extract/integration';

normalizePath('foo\\bar'); // 'foo/bar'
normalizePath('foo/bar'); // 'foo/bar'