Back to results
fehnomenal/rollup-plugins(opens in a new tab)
Language: JavaScript
- stars
- 0
- watchers
- 1
- forks
- 0
- open issues
- 1
- Last updated
- 02/12/2025
Language: JavaScript
Collection of frequently used plugins for rollup.
Install:
pnpm add -D @fehnomenal/rollup-plugins
Plugin that includes .node into the bundle as assets.
import { bundleNative } from '@fehnomenal/rollup-plugins/bundle-native';
Plugin that inserts __dirname, __filename and require into files if these are used.
import { esmShim } from '@fehnomenal/rollup-plugins/esm-shim';
Plugin to statically resolve the correct @libsql/ native package instead of deferring to runtime resolving.
import { resolveLibsql } from '@fehnomenal/rollup-plugins/resolve-libsql';
> pnpm i > git switch -c ... > # work work work and commit stuff > # add a changeset if it is an user-visible change > pnpm changeset > git add .changeset > git commit -m "changeset" > git push
Publishing is done through the changesets bot and action.