Files
test-repo/tests/config/get-prettier.js
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
222 B
JavaScript
Raw Normal View History

2022-02-12 15:39:16 +08:00
import { pathToFileURL } from "node:url";
import path from "node:path";
const entry = pathToFileURL(path.join(process.env.PRETTIER_DIR, "index.js"));
const getPrettier = () => import(entry);
2022-02-12 15:39:16 +08:00
export default getPrettier;