9 lines
222 B
JavaScript
9 lines
222 B
JavaScript
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);
|
|
|
|
export default getPrettier;
|