diplodoc-platform / transform

Simple transformer YFM (Yandex Flavored Markdown) to HTML.
MIT License
56 stars 36 forks source link

`path` and `fs` are required on the client #359

Open mournfulCoroner opened 9 months ago

mournfulCoroner commented 9 months ago

v. 4 transform requires fs and path, which forces the addition of Node.js polyfills on client 2023-12-27_12-27-52

https://github.com/diplodoc-platform/transform/blob/01144476fd7ce75ddd430468179e8dba9b05f734/src/transform/sanitize.ts#L558 The dependencies come from css.stringify