Skip to content

Commit 852c487

Browse files
committed
Fix ESM build failing to import validator/isURL
1 parent 1e20fdd commit 852c487

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/cleanImageElements.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import isURL from 'validator/lib/isURL';
1+
import isURL from 'validator/lib/isURL.js';
22

33
import { getRtfImagesMap } from './getRtfImagesMap';
44
import { getVShapeSpid } from './getVShapeSpid';

0 commit comments

Comments
 (0)