unplugin-kubb
v1.0.5
Published
Unplugin for Kubb
Downloads
3,029
Maintainers
Readme
Install
npm i -D unplugin-kubb @kubb/core
import kubb from 'unplugin-kubb/vite'
export default defineConfig({
plugins: [
kubb({/* options */}),
],
})
import kubb from 'unplugin-kubb/rollup'
export default {
plugins: [
kubb({/* options */}),
],
}
module.exports = {
/* ... */
plugins: [
require('unplugin-kubb/webpack')({/* options */}),
],
}
export default defineNuxtConfig({
modules: [
['unplugin-kubb/nuxt', {/* options */}],
],
})
This module works for both Nuxt 2 and Nuxt Vite
module.exports = {
configureWebpack: {
plugins: [
require('unplugin-kubb/webpack')({/* options */}),
],
},
}
import { build } from 'esbuild'
import kubb from 'unplugin-kubb/esbuild'
build({
plugins: [kubb()],
})
Options
config
Define the options for Kubb.
type Options = {
config: UserConfig
}
Supporting Kubb
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider: