cure53 / DOMPurify

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
https://cure53.de/purify
Other
13.67k stars 698 forks source link

chore: modify package.json and rollup.config #870

Closed ssi02014 closed 10 months ago

ssi02014 commented 10 months ago

Summary

@cure53 👋 I found that package.json has the build commands umd, umd:min, es, and cjs set for each of them, and it runs the build through them.

The rollup.config.js setting allows you to do the build all at once. It's a minor difference, but it also makes the build go faster. 👍

I checked and the build results before the modification and after the modification were the same.

However, if you decide that this is not for you, you can reject it !! Thanks!!

as-is

스크린샷 2023-11-01 오전 1 54 55

to-be

스크린샷 2023-11-01 오전 1 55 26

cure53 commented 10 months ago

Whoa, awesome, thanks again :smile:

ssi02014 commented 10 months ago

@cure53 Thanks !!! 🎉