Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ or [enforce](https://vite.dev/guide/api-plugin.html#plugin-ordering) the order i
The custom _forceTgpuAlias_ option allows specifying the name of _tgpu_ object imported from `typegpu`.
It is only useful in a handful of custom scenarios, when the name cannot be retrieved by the plugin automatically from the import statement.

## Using in the browser

// TODO: Write about how to use the babel entrypoint
// - What needs polyfilling (process.env)
// - unplugin-typegpu/rolldown-browser

## Further reading

For more information about bundler plugins, please refer to the [unplugin](https://unplugin.unjs.io/guide/) and [babel](https://babeljs.io/docs/plugins) documentations.
Loading