{"id":26462,"library":"taskr-esbuild","title":"taskr-esbuild","description":"Esbuild plugin for Taskr, a tiny build tool. Current stable version is 1.0.6 with no active development (last release in 2020). It allows using esbuild as a Taskr plugin, supporting Vue 3, React, and Preact, with basic CSS/Sass/Less/Stylus imports and image/JSON imports. Differentiator: part of the minimal Taskr ecosystem (7MB node_modules), but esbuild has since evolved and the plugin may lag behind. No known release cadence.","status":"maintenance","version":"1.0.6","language":"javascript","source_language":"en","source_url":"https://github.com/ivanheral/taskr-esbuild","tags":["javascript","taskr","taskr-plugin","esbuild"],"install":[{"cmd":"npm install taskr-esbuild","lang":"bash","label":"npm"},{"cmd":"yarn add taskr-esbuild","lang":"bash","label":"yarn"},{"cmd":"pnpm add taskr-esbuild","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"peer dependency; requires Taskr as the build orchestrator","package":"taskr","optional":false},{"reason":"peer dependency; esbuild is the core bundler/transpiler","package":"esbuild","optional":false}],"imports":[{"note":"Plugin is used by Taskr automatically once installed; no explicit import needed in taskfile.","wrong":"const esbuildTask = require('taskr-esbuild') // will not work; Taskr expects the plugin to be registered via package name","symbol":"taskr-esbuild","correct":"import 'taskr-esbuild' // just install; plugin is auto-loaded by Taskr"}],"quickstart":{"code":"// taskfile.js\nmodule.exports = function (task) {\n  task('esbuild', function * () {\n    yield task.source('src/**/*.js').esbuild().target('dist/js');\n  });\n};","lang":"javascript","description":"Shows how to define a Taskr task that uses the esbuild plugin to transpile JavaScript files."},"warnings":[{"fix":"Upgrade Node.js to >=10.0.","message":"Node.js >= 10.0 required due to reliance on older Taskr version.","severity":"breaking","affected_versions":"<10.0"},{"fix":"Pin esbuild to a compatible version (e.g., around 0.9.x) if using this plugin.","message":"Plugin is not actively maintained; last updated in 2020. May not work with latest esbuild versions.","severity":"gotcha","affected_versions":"*"},{"fix":"Use a separate Vue plugin for .vue files.","message":"Does not support .vue single-file components; only supports JavaScript JSX with Vue 3.","severity":"gotcha","affected_versions":"*"},{"fix":"Migrate to esbuild directly or use esbuild with other task runners.","message":"Taskr itself is in maintenance mode; consider switching to modern build tools.","severity":"deprecated","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install package and its peers: npm install --save-dev taskr-esbuild taskr esbuild","cause":"Package not installed or peer dependencies missing.","error":"Error: Cannot find module 'taskr-esbuild'"},{"fix":"Ensure you have a taskr.config.js that exports a function (or use taskfile.js) and that the plugin is installed correctly.","cause":"Plugin not registered or wrong version of Taskr.","error":"TypeError: task.source(...).esbuild is not a function"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}