vite-plugin-glob-accept
v0.1.0
Published
```ts import.meta.hot.accept([ './a.js', './b.js', './c.js', './d.js', './e.js', './f.js' ], dosomething) // replace with import.meta.hot.accept(['./*.js'], dosomething) ```
Downloads
17
Maintainers
Readme
vite-plugin-glob-accept
import.meta.hot.accept([
'./a.js',
'./b.js',
'./c.js',
'./d.js',
'./e.js',
'./f.js'
], dosomething)
// replace with
import.meta.hot.accept(['./*.js'], dosomething)
Less code, more fun.
Installation
npm install vite-plugin-glob-accept
# or
pnpm install vite-plugin-glob-accept
# or
yarn add vite-plugin-glob-accept
Usage
No configuration, enjoy yourself.
License
MIT