Registry / web-framework / rollup-plugin-jtaro-module

rollup-plugin-jtaro-module

JSON →
library0.3.2jsnpmunverified

A Rollup plugin for JTaro Module that enables importing CSS, HTML templates, and processing them for Vue.js applications. Version 0.3.2 is the latest stable release, last updated in 2018. It provides features like HTML to Vue render function conversion, style merging, and source map support. Differentiators include simplified module bundling for JTaro-based projects, automatic CSS order management, and integration with Vue render functions.

npm install rollup-plugin-jtaro-module
INSTALL
IMPORT
SIG · ROLLUP-PLUGIN-JTAR
R
rollup-plugin-jtaro-module
web-frameworkjavascriptv0.3.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
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 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

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

jtaroModule
import jtaroModule from 'rollup-plugin-jtaro-module'
const jtaroModule = require('rollup-plugin-jtaro-module')
Default export; plugin is ESM-only. CommonJS require may fail in Rollup config.

Basic Rollup configuration using the plugin to process CSS and HTML imports, with html2Render option for Vue.

// rollup.config.js import jtaroModule from 'rollup-plugin-jtaro-module' export default { input: 'src/index.js', output: { file: 'dist/bundle.js', format: 'iife' }, plugins: [ jtaroModule({ root: 'website', html2Render: true }) ] } // src/index.js import './reset.css'; import template from './template.html'; console.log(template);
Debug
Known issues
deprecatedPackage has not been updated since 2018 and may be incompatible with newer Rollup versions (v2+).
fix
Consider migrating to a maintained alternative or adapting the plugin for Rollup v2+.
affects: >=0.3.2
gotchaThe html2Render option requires Vue.js, but the plugin does not explicitly depend on it.
fix
Ensure Vue is installed if using html2Render: true.
affects: >=0.3.0
gotchaCSS imports may cause infinite loops in certain configurations (fixed in 0.3.2).
fix
Update to version 0.3.2 or later.
affects: <0.3.2
Errors
Common errors & fixes
Error: Cannot find module 'rollup-plugin-jtaro-module'
Module not installed or not installed as devDependency.
fix
npm install --save-dev rollup-plugin-jtaro-module
Error: Invalid hook: the plugin is not compatible with rollup >=2.0
Plugin uses Rollup v1 plugin API hooks that are deprecated in v2+.
fix
Use Rollup v1.x or update the plugin source code.
Upgrade
Version history
0.3.2latest on npm
Audit
Dependencies
rolluprequiredPeer dependency; plugin requires Rollup to function.
Agent activity
2 hits · last 30 days
node
2
Resources
rollup-plugin-jtaro-module — npm install rollup-plugin-jtaro-module · libregistry