@cdlab996/vite-plugin-lib-types2.7
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @cdlab996/vite-plugin-lib-types2.7

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

30.6 kB

Total Files

14

Last publish

Collaborators

  • wuchendi