diff --git a/lib/index.d.ts b/lib/index.d.ts index 51b6c02..c7ea150 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1 +1,3 @@ -export const uvPath: string; +declare const uvPath: string; + +export default uvPath; diff --git a/lib/index.js b/lib/index.js index f4e5906..f5360e5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,3 +1,5 @@ import { fileURLToPath } from 'url'; -export const uvPath = fileURLToPath(new URL('../dist/', import.meta.url)); +const uvPath = fileURLToPath(new URL('../dist/', import.meta.url)); + +module.exports = uvPath; diff --git a/package.json b/package.json index c450c3c..35a893d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "author": "", "license": "ISC", - "type": "module", + "type": "commonjs", "dependencies": { "bowser": "^2.11.0", "css-tree": "^2.0.4",