open-index/open-npm huggingface dataset:
npm package: @masslbs/deno-vite-plugin
Description: we forked https://github.com/denoland/deno-vite-plugin/ becasue of an open performance issue regarding uncapped `deno info ...` calls
Latest version: 1.0.4

# MassLabs fork

we forked https://github.com/denoland/deno-vite-plugin/ becasue of an open performance issue regarding uncapped `deno info ...` calls

* https://github.com/denoland/deno-vite-plugin/issues/50
* https://github.com/denoland/deno-vite-plugin/issues/55
* https://github.com/denoland/deno-vite-plugin/pull/61

# Deno vite plugin

Plugin to enable Deno resolution inside [vite](https://github.com/vitejs/vite).
It supports:

- Alias mappings in `deno.json`
- `npm:` specifier
- `jsr:` specifier
- `http:` and `https:` specifiers

## Limitations

Deno specific resolution cannot be used in `vite.config.ts` because it's not
possible to intercept the bundling process of the config file in vite.

## Usage

Install this package:

```sh
# npm
npm install @deno/vite-plugin
# pnpm
pnpm install @deno/vite-plugin
# deno
deno install npm:@deno/vite-plugin
```

Add the plugin to your vite configuration file `vite.config.ts`:

```diff
  import { defineConfig } from "vite";
+ import deno from "@deno/vite-plugin";

  export default defineConfig({
+   plugins: [deno()],
  });
```

## License

MIT, see [the license file](./LICENSE).