unplugin-printer
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

unplugin-printer

unplugin-printer

Install

npm i unplugin-printer
Vite
// vite.config.ts
import Printer from 'unplugin-printer/vite'

export default defineConfig({
  plugins: [
    Printer({ /* options */ }),
  ],
})

Example: playground/


Webpack
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('unplugin-printer/webpack')({ /* options */ })
  ]
}


Nuxt
// nuxt.config.js
export default defineNuxtConfig({
  modules: [
    ['unplugin-printer/nuxt', { /* options */ }],
  ],
})

This module works for both Nuxt 2 and Nuxt Vite


Vue CLI
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('unplugin-printer/webpack')({ /* options */ }),
    ],
  },
}


Package Sidebar

Install

npm i unplugin-printer

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

194 kB

Total Files

29

Last publish

Collaborators

  • webfansplz