The Open Standard for Generative UI
fix: Windows compatibility for cp-css.js and contributing docs (#446)
Prakash Kumar singhe38bfb5652ff
diff --git a/packages/react-ui/cp-css.js b/packages/react-ui/cp-css.jsindex 52d1087d7..c805b4941 100644--- a/packages/react-ui/cp-css.js+++ b/packages/react-ui/cp-css.js@@ -1,8 +1,9 @@import fs from "fs";import { camelCase } from "lodash-es";import path from "path";+import {fileURLToPath} from "url"-const dirname = path.dirname(new URL(import.meta.url).pathname);+const dirname = path.dirname(fileURLToPath(import.meta.url));// Create directories if they don't existfunction ensureDirectoryExists(dirPath) {