unplugin-uni-build
v0.1.0
Published
[![NPM version](https://img.shields.io/npm/v/unplugin-uni-build?color=a1b858&label=)](https://www.npmjs.com/package/unplugin-uni-build)
Downloads
1
Maintainers
Readme
unplugin-uni-build
Install
npm i unplugin-uni-build
// vite.config.ts
import Starter from 'unplugin-uni-build/vite'
export default defineConfig({
plugins: [
Starter({ /* options */ }),
],
})
Example: playground/
// rollup.config.js
import Starter from 'unplugin-uni-build/rollup'
export default {
plugins: [
Starter({ /* options */ }),
],
}
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('unplugin-uni-build/webpack')({ /* options */ })
]
}
// vue.config.js
module.exports = {
configureWebpack: {
plugins: [
require('unplugin-uni-build/webpack')({ /* options */ }),
],
},
}
// esbuild.config.js
import { build } from 'esbuild'
import Starter from 'unplugin-uni-build/esbuild'
build({
plugins: [Starter()],
})