@pkg-tools/config
v1.0.8
Published
A unified configuration layer for pkg-tools
Downloads
27
Readme
@pkg-tools/config
A package used to configure your pkg-tools usage
This package is meant to be used in tandem with other pkg-tools packages. It provides a function defineConfig
for defining your pkg-tools configuration.
Install
# w/ pnpm
pnpm add -D @pkg-tools/config
# w/ yarn
yarn add -D @pkg-tools/config
# w/ npm
npm install -D @pkg-tools/config
Usage
Define a pkg.config.ts
in the root of your package and add the following.
import { defineConfig } from '@pkg-tools/config';
export default defineConfig({
config: {
directory: './dist',
},
});