Skip to content

Commit bdef5df

Browse files
committed
chore(package.json): add purify.js and purify.min.js to exports
can now directly import both minified and uncompressed library scripts
1 parent ad0fe79 commit bdef5df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"types": "./dist/purify.cjs.d.ts",
3737
"default": "./dist/purify.cjs.js"
3838
}
39-
}
39+
},
40+
"./purify.min.js": "./dist/purify.min.js",
41+
"./purify.js": "./dist/purify.js"
4042
},
4143
"files": [
4244
"dist"

0 commit comments

Comments
 (0)