* fix(dev): import icon templates with file URLs Convert the resolved template path to an encoded file URL so the Node.js ESM loader accepts Windows paths and URL characters. * fix(dev): import icon metadata with file URLs Encode metadata file paths before dynamic JSON import, including Windows drive paths and URL characters. * test(dev): cover icon build assets in paths with URL characters Run the icon CLI in a Node process with a small SVG and metadata fixture; verify generation and metadata in a path containing spaces, # and %. * test(build-icons): cover Windows file URL imports --------- Co-authored-by: Vugar Bakhishov <vugarbbakhishov-hub@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| build-icons.spec.ts | ||
| context.spec.tsx | ||
| createLucideIcon.spec.tsx | ||
| directives.spec.ts | ||
| DynamicIcon.spec.tsx | ||
| dynamicImports.spec.tsx | ||
| Icon.spec.tsx | ||
| lucide-react.spec.tsx | ||
| setupVitest.js | ||
| testIconNodes.ts | ||