{"id":25025,"library":"broccoli-sabel","title":"broccoli-sabel","description":"Broccoli plugin for simple Babel transpilation (sabel is a lightweight Babel wrapper). Version 0.3.6 is the latest, but the package appears unmaintained (last release years ago). It provides a thin layer for running Babel transforms within Broccoli builds, but alternatives like broccoli-babel-transpiler or direct use of Babel are recommended for active support.","status":"deprecated","version":"0.3.6","language":"javascript","source_language":"en","source_url":"https://github.com/mko-io/broccoli-sabel","tags":["javascript","broccoli"],"install":[{"cmd":"npm install broccoli-sabel","lang":"bash","label":"npm"},{"cmd":"yarn add broccoli-sabel","lang":"bash","label":"yarn"},{"cmd":"pnpm add broccoli-sabel","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"core Babel transpiler dependency","package":"babel-core","optional":false},{"reason":"peer dependency for Broccoli plugin","package":"broccoli","optional":false}],"imports":[{"note":"ESM default import; may work with require but not guaranteed.","wrong":"const sabel = require('broccoli-sabel')","symbol":"sabel","correct":"import sabel from 'broccoli-sabel'"},{"note":"Default export is the Sabel class; named import not supported.","wrong":"import { Sabel } from 'broccoli-sabel'","symbol":"Sabel","correct":"import Sabel from 'broccoli-sabel'"}],"quickstart":{"code":"import sabel from 'broccoli-sabel';\nimport { writeFileSync } from 'fs';\n\nconst tree = sabel('src', {\n  presets: ['@babel/preset-env'],\n  sourceMaps: true\n});\n\n// In Brocfile.js or similar, return tree\nexport default tree;","lang":"javascript","description":"Creates a Broccoli tree that transpiles files in 'src' using Babel with @babel/preset-env and source maps."},"warnings":[{"fix":"Replace with broccoli-babel-transpiler: npm install --save-dev broccoli-babel-transpiler","message":"Package is deprecated; use broccoli-babel-transpiler or @babel/core directly.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Use broccoli-babel-transpiler which supports Babel 7.","message":"Requires babel-core (Babel 6) which is outdated; may not work with Babel 7+.","severity":"gotcha","affected_versions":">=0.3.0"},{"fix":"Ensure you are using Broccoli as your build tool.","message":"Only works within Broccoli build system; not standalone.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"npm install --save-dev babel-core","cause":"babel-core is missing or not installed","error":"Cannot find module 'babel-core'"},{"fix":"Call sabel('src', { presets: [] }) with options object.","cause":"Missing options argument","error":"Error: Broccoli-sabel: Expected a string or object, got undefined"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}