1.5.2 • Published 5 months ago

@jpapini/tsup-config v1.5.2

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

tsup configuration

Custom tsup configuration for TypeScript libraries.

How to use

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

import { createLibraryConfiguration } from '@jpapini/tsup-config';

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

Author

1.5.2

5 months ago

1.5.1

7 months ago

1.5.0

7 months ago

1.4.1

8 months ago

1.4.0

9 months ago

1.3.0

9 months ago

1.2.0

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

11 months ago

1.1.0

11 months ago