Standalone build of prettier
for use in browsers.
Using prettier in create-react-app: prettier/issues/1269
Kind of.
- The bundle is quite big (5.5 MB) because all dependencies are bundled.
prettier
has a few large dependencies. E.g.typescript
, which is not really needed when only formatting JavaScript, but it's bundled anyway.prettier
targets node and future updates could break browser compatibility.