1.1.9 • Published 10 months ago

@jpapini/vite-config v1.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Vite.js configuration

Custom Vite.js configuration for TypeScript libraries.

How to use

  1. Install the package and its required peer dependencies:
pnpm add -D @jpapini/vite-config vite
  1. Create a vite.config.js file with the following content:
import url from 'node:url';

import { createLibraryViteConfig } from '@jpapini/vite-config';

export default createLibraryViteConfig({
    rootDir: url.fileURLToPath(new URL('.', import.meta.url)),
});
  1. Edit the package.json file to add the following scripts:
{
    "scripts": {
        "build": "vite build"
    }
}

Author

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

11 months ago

1.1.6

11 months ago

1.1.5

11 months ago

1.1.4

11 months ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago