@nxext/stencil
Version:
Nx plugin for stenciljs
12 lines (11 loc) • 538 B
TypeScript
/**
* Originally from the StencilJS codebase (packages\stencil\src\utils\normalize-path.ts) copied, to create the same
* kind of path strings like the originally config
*/
/**
* Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
* Forward-slash paths can be used in Windows as long as they're not
* extended-length paths and don't contain any non-ascii characters.
* This was created since the path methods in Node.js outputs \\ paths on Windows.
*/
export declare const normalizePath: (path: string) => string;