{"library":"rollup-to-nej","title":"rollup-to-nej","description":"A build tool that transforms Vue single-file components (.vue) and ES module code into NEJ-style AMD modules with NEJ.define() wrappers. Current version 1.3.0. Provides a command-line interface (roll, rollup) and programmatic API (doRollup). Supports alias mapping to avoid bundling common modules, comment removal, and external Babel helpers. It is a niche tool for projects migrating from Vue/ESM to the NEJ module system, with no active development observed since 2020.","language":"javascript","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["npm install rollup-to-nej"],"cli":{"name":"roll","version":null}},"imports":["const doRollup = require('rollup-to-nej');","doRollup.build('vue', { input: 'raw', output: 'src' });","roll build vue -i raw -o src"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"const doRollup = require('rollup-to-nej');\ndoRollup.build('vue', {\n  input: 'raw',\n  output: 'src',\n  alias: {\n    '@nej': './src',\n    'vueSrc': '../../'\n  },\n  removeComments: true,\n  externalHelpers: false\n});","lang":"javascript","description":"Programmatic build using the API: bundles .vue and .js files from 'raw' to 'src' with NEJ.define wrapping, aliases, and option to remove comments.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}