You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be ideal if we could add a browser entry to package.json with a limited number of substitutions to make this package work in a browser ref:
Update June 2021: This means that the information in docs/browser.md does not apply for prettierX.
Some form of browser build support is under consideration for the future. And a switch to ES modules would likely increase the chances of working in more and more environments such as modern browsers and Deno out of the box.
The recommended solution for now is to use a bundler such as Rollup or Webpack.
The text was updated successfully, but these errors were encountered:
* prettierx docs: update browser status for prettierX
as discussed in this issue:
- #95
and revert incorrect updates to `docs/browser.md` from this commit:
- a48be8e
A side effect of removing the prod build (#48) is that use in a browser build (https://prettier.io/docs/en/browser.html) is no longer expected to work.
I think it would be ideal if we could add a browser entry to package.json with a limited number of substitutions to make this package work in a browser ref:
Update June 2021: This means that the information in
docs/browser.md
does not apply for prettierX.Some form of browser build support is under consideration for the future. And a switch to ES modules would likely increase the chances of working in more and more environments such as modern browsers and Deno out of the box.
The recommended solution for now is to use a bundler such as Rollup or Webpack.
The text was updated successfully, but these errors were encountered: