Experimental CommonJS module compiler for target-specific modular design, enabling device-tailored app versions from a shared codebase. Current version 0.0.19 (unstable, low release cadence). Dynamically compiles CommonJS modules based on screen width or device type, serving conditional bundles (e.g., mobile vs web). A proof-of-concept for server-side module compilation with query parameter routing, not production-ready. Differentiators: runtime module assembly per device, mirror module names across targets. Risks: no active maintenance, no security audits, single author.
npm install appbot-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to compile a CommonJS app for mobile target with width query parameter.
Pin to exact version; no SemVer guarantees.
Migrate to a maintained modular compilation solution.
Ensure all modules use synchronous require; no dynamic imports.
Run `npm install appbot-compiler --save-dev`.
Use `const { compile } = require('appbot-compiler');`.No dependency data recorded yet.