@vyriy/browserslist-config

Shared Browserslist config for Vyriy projects.

Purpose

Use this package when a Vyriy project needs a small focused module for browserslist behavior.

Vyriy packages are intentionally small. The goal is to keep the public API explicit, easy to test, and easy to compose with the rest of the Vyriy ecosystem.

Install

With npm:

npm install -D @vyriy/browserslist-config

With Yarn:

yarn add -D @vyriy/browserslist-config

Usage

[development]
extends @vyriy/browserslist-config

[production]
extends @vyriy/browserslist-config
import browserslistConfig from '@vyriy/browserslist-config';

export default browserslistConfig;

Public API

The package is expected to expose the following main surface:

  • default browserslistConfig
  • type BrowserslistConfig

Parameters and options

  • development — Fast local browser target.
  • ssr — Node.js SSR target.
  • production — Public production browser baseline.
  • modern — Evergreen browser target.

Examples

Minimal usage

import * as module from '@vyriy/browserslist-config';

console.info(module);

Use inside a Vyriy package

// packages/example/index.ts
export { default as example } from '@vyriy/browserslist-config';

Keep the boundary explicit

// Prefer importing from the package root unless a documented subpath is required.
import {} from /* named export */ '@vyriy/browserslist-config';

Notes

  • Keep configuration close to the package that owns it.
  • Prefer explicit options over hidden global state.
  • Keep examples small enough to copy into tests or Storybook docs.
  • When adding a new public export, document it in this README and add a focused test.

Related packages

  • @vyriy/config for environment-driven options.
  • @vyriy/script for readable operational flows.
  • @vyriy/handler and @vyriy/server when the package participates in runtime handling.