fuse-box
Version:
Fuse-Box a bundler that does it right
30 lines (22 loc) • 505 B
Markdown
Handles cache and HMR for plain javascript
If you are using just plain javascript without transformation, this plugin will handle caching and HMR
Import from FuseBox
```js
const {PlainJSPlugin} = require("fuse-box");
```
Inject into a chain
```js
fuse.bundle("app").plugin(PlainJSPlugin())
```
Or add it to the main config plugins list to make it available across bundles
```js
FuseBox.init({
plugins : [
PlainJSPlugin()
]
});
```