WXML template compiler for WeChat Mini Programs, version 1.0.5. It transpiles WXML files into JavaScript render functions, similar to wcc.exe and wcc. Designed for build tooling and automation.
npm install wxml-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a list of WXML files using CommonJS require. Outputs generated JavaScript code.
Use require() instead of import.
Use path.resolve() to ensure absolute paths.
Create a custom .d.ts file if needed.
None; designed for simple compilation.
Run npm install wxml-transpiler in the project root.
Use createRequire from 'module' or switch to CommonJS.
Use const { wxmlCompile } = require('wxml-transpiler');No dependency data recorded yet.