0.0.1 • Published 1 year ago

unplugin-vdeep v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Convert: deep and >>> in style to: deep()

📦 Install

npm i unplugin-vdeep

🌈 Usage

// vite.config.ts
import { vitePlugin } from 'unplugin-vdeep'
export default defineConfig({
  plugins: [vitePlugin()],
})
// rollup.config.js
import { resolve } from 'path'
import { rollupTransformToUnocss } from 'unplugin-vdeep'
export default {
  plugins: [rollupTransformToUnocss(/* options */)],
}

</details>
<br>
<details>
<summary>Webpack</summary>

```ts
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('unplugin-vdeep').webpackTransformToUnocss({
      /* options */
    }),
  ],
}
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('unplugin-vdeep').webpackTransformToUnocss({
        /* options */
      }),
    ],
  },
}
// esbuild.config.js
import { build } from 'esbuild'
import { esbuildPlugin } from 'unplugin-vdeep'

build({
  plugins: [esbuildPlugin(/* options */)],
})

License

MIT License © 2022 Simon He

sponsors

0.0.1

1 year ago