Skip to content

Commit 63d666b

Browse files
committed
Meta tweaks
1 parent dcc2cd1 commit 63d666b

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/funding.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ export default function gulpRev() {
8080
reverseFilename = JSON.parse(file.contents.toString()).file;
8181
} catch {}
8282

83-
if (!reverseFilename) {
84-
reverseFilename = path.relative(path.dirname(file.path), path.basename(file.path, '.map'));
85-
}
83+
reverseFilename ||= path.relative(path.dirname(file.path), path.basename(file.path, '.map'));
8684

8785
if (pathMap[reverseFilename]) {
8886
// Save the old path for later

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
"type": "module",
1414
"exports": "./index.js",
15+
"sideEffects": false,
1516
"engines": {
1617
"node": ">=20"
1718
},
@@ -42,13 +43,13 @@
4243
"rev-hash": "^4.1.0",
4344
"rev-path": "^3.0.0",
4445
"sort-keys": "^6.0.0",
45-
"vinyl": "^3.0.0",
46+
"vinyl": "^3.0.1",
4647
"vinyl-file": "^5.0.0"
4748
},
4849
"devDependencies": {
4950
"ava": "^6.4.1",
5051
"p-event": "^7.0.0",
51-
"xo": "^0.56.0"
52+
"xo": "^1.2.3"
5253
},
5354
"peerDependencies": {
5455
"gulp": ">=4"

0 commit comments

Comments
 (0)