1.0.0 • Published 1 month ago

@cdlab996/vite-plugin-lib-types2.7 v1.0.0

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

vite-plugin-lib-types2.7

Generate typescript declarations, Supports Vue2.7 Files

🔧 Installation

pnpm add -D @cdlab996/vite-plugin-lib-types2.7

A simple example is shown below:

import { defineConfig } from 'vite'
import LibTypes from '@cdlab996/vite-plugin-lib-types2.7'

export default defineConfig({
  plugins: [LibTypes({ fileName: 'vue-renderer.d.ts' })],
  build: {
    target: 'ES2018',
    sourcemap: true,
    lib: {
      entry: 'src/index.ts',
      fileName: () => 'vue-renderer.mjs',
      formats: ['es'],
    },
  },
})

⚡ Credits

tips: This project is specifically tailored for the lowcode-engine-vue version 2.7, offering enhanced support for this framework. For additional packages within the ecosystem, please explore further.

This project is inspired by:

📜 License

MIT License © 2023-PRESENT cdLab996

1.0.0

1 month ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago