0.1.0 • Published 5 months ago

@barelyhuman/prev v0.1.0

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

@barelyhuman/prev

Opinionated Execution Engine for preact-island-plugins

Warning: This is still in alpha development, things might change, avoid using it for production

Note: It is not recommended to use this CLI without the barelyhuman/prev template, since you'll have to configure your structure accordingly anyway. Easier to clone it instead.

Installation

npm add @barelyhuman/prev
# or
yarn add @barelyhuman/prev
# or
pnpm add @barelyhuman/prev

Usage

The CLI has basically 3 functions,

  1. Create a Server based on the Kernel(HonoJS)
  2. Allow live reloading if the --dev flag is passed.
npx @barelyhuman/prev ./path/to/root-of-project
npx @barelyhuman/prev --dev ./path/to/root-of-project
  1. Inject Plugins, you can add in simple plugins to improve the DX like adding one for goober/twind for css-in-js. Or even postcss to add in something like tailwindcss

Documentation

TBD

License

MIT