Universal bootstrap animation configuration, support Vite plugin.
pnpm add -D @bit-ocean/bootstrap-animation
// vite.config.ts
import { BootstrapAnimation } from '@bit-ocean/bootstrap-animation'
export default defineConfig({
plugins: [BootstrapAnimation()]
})
// next.config.js
const { bootstrapLog } = require('@bit-ocean/bootstrap-animation')
bootstrapLog()
// metro.config.js
const { bootstrapLog } = require('@bit-ocean/bootstrap-animation')
bootstrapLog()
// vite.config.ts
import { BootstrapAnimation } from '@bit-ocean/bootstrap-animation'
export default defineConfig({
plugins: [
BootstrapAnimation({
author: ''
})
]
})