We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a51251 commit a5ed65dCopy full SHA for a5ed65d
1 file changed
prettier.config.js
@@ -1,6 +1,9 @@
1
import { readFileSync } from "fs";
2
+import { fileURLToPath } from "url";
3
-const basePath = new URL("./packages/pluggable-widgets-tools/configs/prettier.base.json", import.meta.url).pathname;
4
+const basePath = fileURLToPath(
5
+ new URL("./packages/pluggable-widgets-tools/configs/prettier.base.json", import.meta.url)
6
+);
7
const base = JSON.parse(readFileSync(basePath));
8
9
export default {
0 commit comments