0.0.5 • Published 2 years ago

ts-auto-export v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Features

demo

image

Installation

pnpm add ts-auto-export -D  

//or
npm install --save-dev ts-auto-export

Usage

  • vite.confit.ts
import { defineConfig } from 'vite'
import autoExport from 'ts-auto-export'

export default defineConfig({
  ...
  plugins:[autoExport()] //default watch `src` directory then generate index.ts file
})

Config

fieldDescriptionTypeDefault
filePathsite declared file namestringsrc
fileNamesite watch specified directorystringindex

Future

Framework Support

  • vite
  • webpack
  • with out vite/webpack
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago