altv-esbuild-client-worker
v0.1.2
Published
A plugin that allows you to import [alt:V](https://altv.mp) [clientside workers](https://docs.altv.mp/js/articles/workers.html) like regular JS/TS modules. See [example](/example/src/main.js)
Downloads
4
Readme
altv-esbuild-client-worker
A plugin that allows you to import alt:V clientside workers like regular JS/TS modules. See example
Installation
- Install as npm package
yarn add altv-esbuild-client-worker
npm i altv-esbuild-client-worker
- Add it into your esbuild config
import { altvClientWorker } from "altv-esbuild-client-worker"
esbuild.build({
plugins: [altvClientWorker()]
})