0.0.3 • Published 8 months ago

@openinula/unplugin v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

@openinula/unplugin

inulaNext unified plugin system for build tools.Based on unplugin.

Install

npm i @openinula/unplugin
// vite.config.ts
import inulaNext from '@openinula/unplugin/vite'

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

Example: playground/

// rollup.config.js
import inulaNext from '@openinula/unplugin/rollup'

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

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

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

This module works for both Nuxt 2 and Nuxt Vite

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

// esbuild.config.js
import { build } from 'esbuild'
import inulaNext from '@openinula/unplugin/esbuild'

build({
  plugins: [inulaNext()],
})

0.0.3

8 months ago

0.0.2

9 months ago

0.0.2-SNAPSHOT

9 months ago

0.0.1

9 months ago

0.0.1-aplha

9 months ago