unplugin-printer
v0.0.2
Published
Print info on the terminal
Downloads
2
Maintainers
Readme
unplugin-printer
Install
npm i unplugin-printer
// vite.config.ts
import Printer from 'unplugin-printer/vite'
export default defineConfig({
plugins: [
Printer({ /* options */ }),
],
})
Example: playground/
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('unplugin-printer/webpack')({ /* options */ })
]
}
// nuxt.config.js
export default defineNuxtConfig({
modules: [
['unplugin-printer/nuxt', { /* options */ }],
],
})
This module works for both Nuxt 2 and Nuxt Vite
// vue.config.js
module.exports = {
configureWebpack: {
plugins: [
require('unplugin-printer/webpack')({ /* options */ }),
],
},
}