Registry / devops / rollup-plugin-jess

rollup-plugin-jess

JSON →
library1.0.8-alpha.8jsnpmunverified

Rollup plugin that compiles Jess CSS preprocessor files into JavaScript modules at build time. Currently at v1.0.8-alpha (alpha stage), with low release cadence. Requires Rollup ^2.0.0 as a peer dependency. Differentiators: dedicated integration for the Jess language, TypeScript declarations included. Alternatives like generic CSS rollup plugins (e.g., rollup-plugin-postcss) require additional configuration for custom syntaxes.

npm install rollup-plugin-jess
INSTALL
IMPORT
SIG · ROLLUP-PLUGIN-JESS
R
rollup-plugin-jess
devopsjavascriptv1.0.8-alpha.8
Install
—
Import
—
Disk
—
Pass rate
0/ 6
Env Coverage0 / 6
glibc
18–22
musl
18–22
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18–223 runs
build_error
glibc
node 18–223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default export (jess)
✓ import jess from 'rollup-plugin-jess'
✗ const jess = require('rollup-plugin-jess');
ESM only; CommonJS require will not work because the package is type: module and uses ESM syntax. For Rollup configs in CJS, use dynamic import: const jess = (await import('rollup-plugin-jess')).default;
jess (as named export)
✓ import { jess } from 'rollup-plugin-jess'
✗ import jess from 'rollup-plugin-jess'
The plugin also exports a named export `jess` which is the same as default. Both work, but importing as default is more idiomatic due to single-function usage.
type JessOptions
✓ import type { JessOptions } from 'rollup-plugin-jess'
✗ import { JessOptions } from 'rollup-plugin-jess' (if used at runtime)
TypeScript declaration ships with the package; JessOptions is exported as a named type for plugin configuration. Only import as type to avoid runtime inclusion.

Rollup configuration importing the jess plugin, converting Jess files in the build pipeline.

// rollup.config.js import jess from 'rollup-plugin-jess'; import { defineConfig } from 'rollup'; export default defineConfig({ input: 'src/main.js', output: { file: 'dist/bundle.js', format: 'esm' }, plugins: [ jess({ // Jess configuration options (see jesscss.github.io) // e.g., compress: false }) ] });
Debug
Known issues
deprecatedPlugin is in alpha version (1.0.8-alpha). API may change without major version bump.
fix
Pin to exact version and monitor for breaking changes before production use.
affects: <1.0.0
gotchaPlugin expects Rollup ^2.0.0; incompatible with Rollup 3+.
fix
Do not use with Rollup 3+; consider using rollup-plugin-jess-ng fork or wait for update.
affects: >=1.0.0
gotchaRequires Node.js >=12; older versions may cause cryptic module resolution errors.
fix
Upgrade Node.js to >=12 or use a transpiler for the plugin.
affects: >=1.0.0
deprecatedJess framework itself (jesscss) may be deprecated; last release in 2019. Plugin depends on it.
fix
Evaluate alternative CSS preprocessors or ensure Jess is still maintained for your use case.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Cannot find module 'rollup-plugin-jess'
Plugin not installed or npm install incomplete.
fix
Run `npm install rollup-plugin-jess --save-dev` (or yarn equivalent) in project root.
TypeError: jess is not a function
Using CommonJS require in an ESM-only package; jess is the default export but not available via require as a function.
fix
Use dynamic import: const jess = (await import('rollup-plugin-jess')).default; in CommonJS context, or convert rollup.config.js to ES module.
Error: Peer dependency rollup@^2.0.0 not installed
Rollup is missing or version mismatch (e.g., Rollup 3.x installed).
fix
Install Rollup 2.x: `npm install rollup@^2.0.0 --save-dev`.
Upgrade
Version history
1.0.8-alpha.8latest on npm
Audit
Dependencies
rolluprequiredPeer dependency; plugin requires Rollup >=2.0.0 to hook into the build pipeline.
Agent activity
8 hits · last 30 days
node
6
Resources
rollup-plugin-jess — npm install rollup-plugin-jess · libregistry