Wallaby.js compiler for Vue single-file components enabling code coverage display. v1.0.6 stable, low update frequency. Requires vue-template-compiler as peer dep and accepts a separate compiler (e.g., Babel) for script section compilation. Different from other Vue compilers by integrating directly with Wallaby's coverage instrumentation pipeline.
npm install wallaby-vue-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Wallaby.js to compile .vue files with the Vue compiler, using Babel for script sections.
Consider using @vue/compiler-sfc for Vue 3 or Vue 2.7+ projects.
Always call require('wallaby-vue-compiler')(scriptCompiler) in the compilers config.Invoke the default export as a factory: const vueCompiler = require('wallaby-vue-compiler')(wallaby.compilers.babel({}));For Vue 3 projects, use a different coverage tool or Wallaby's native Vue 3 support.
Run npm install vue-template-compiler@^2.6.10 --save-dev
Use require('wallaby-vue-compiler')(wallaby.compilers.babel({})) instead of just require('wallaby-vue-compiler')Pass wallaby.compilers.something({}) as the first argument.