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 see that the plugin string for tsconfig is an url. Does that mean you can only use the plugin if you also have access to the internet? or is there a npm package where to use it from?
The text was updated successfully, but these errors were encountered:
You need access to the internet to download the wasm file (similar to how initially downloading an npm package needs the internet) and then it's cached after that. One possibility is to to download the wasm files, include them in the repo, then reference it via a relative path. Alternatively, you can include the @dprint/typescript npm dependency then reference the plugin.wasm file as a relative path found in the package: https://www.npmjs.com/package/@dprint/typescript?activeTab=code (ex. ./node_modules/@dprint/typescript/plugin.wasm)
Note that because the plugins are .wasm files they run sandboxed in a Wasm runtime with no access to outside resources.
I see that the plugin string for tsconfig is an url. Does that mean you can only use the plugin if you also have access to the internet? or is there a npm package where to use it from?
The text was updated successfully, but these errors were encountered: