mirror of
https://github.com/titaniumnetwork-dev/Ultraviolet.git
synced 2025-05-17 13:30:00 -04:00
convert lib to CommonJS with default export
This commit is contained in:
parent
0765bcc2f3
commit
5dd0a60cc7
3 changed files with 7 additions and 3 deletions
4
lib/index.d.ts
vendored
4
lib/index.d.ts
vendored
|
@ -1 +1,3 @@
|
|||
export const uvPath: string;
|
||||
declare const uvPath: string;
|
||||
|
||||
export default uvPath;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"type": "module",
|
||||
"type": "commonjs",
|
||||
"dependencies": {
|
||||
"bowser": "^2.11.0",
|
||||
"css-tree": "^2.0.4",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue