UNPKG

khatavani-client

Version:

The Backend-Api-Integration package simplifies interaction with the backend API by providing a set of CRUD methods for common endpoints. It abstracts away the complexity of making HTTP requests and handling responses, allowing developers to focus on appli

18 lines (16 loc) 479 B
import { defineConfig } from 'rollup'; import typescript from "@rollup/plugin-typescript" export default defineConfig({ input: "index.ts", output: { dir: "dist", format: "es", name: 'khatavani-client', }, plugins: [typescript({ tsconfig: "tsconfig.json" })] }) // at the package.json of the types // dist/index.d.ts it is before creating the npm build //after creating the dist folder then specify index.ts