diplodoc-platform / diplodoc-platform/transform

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

Open
#359 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
69
Forks
59
Avg merge
1d 21h
Merged PRs (30d)
6

Description

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/assets/56549651/3d3e8085-44ec-4f85-b393-ffe2a22c5eba)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.