1.1.0 • Published 1 year ago

worktank-vite-plugin v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

WorkTank Vite Plugin

Vite plugin for WorkTank which enables you to execute whole files in a worker pool, transparently.

Install

npm install --save worktank-vite-plugin

Usage

For more information read this.

import {defineConfig} from 'vite';
import worktank from 'worktank-vite-plugin';

export default defineConfig ({
  plugins: [
    worktank ({
      filter: /\.worker\.(js|ts)$/ // Files matching this regex will be processed
    })
  ]
});

License

MIT © Fabio Spampinato

1.1.0

1 year ago

1.0.0

2 years ago