{"id":25018,"library":"broccoli-es6-concatenator","title":"broccoli-es6-concatenator","description":"Deprecated Broccoli plugin to transpile ES6 modules (using es6-module-transpiler) and concatenate them into a single file, recursively resolving import statements. Current version 0.1.11. This package is abandoned and should not be used for new projects; it relies on an old, incorrect version of es6-module-transpiler that does not follow ES6 module semantics. Users should migrate to modern bundlers like Webpack, Rollup, or broccoli-rollup.","status":"deprecated","version":"0.1.11","language":"javascript","source_language":"en","source_url":"https://github.com/joliss/broccoli-es6-concatenator","tags":["javascript","broccoli-plugin","concatenate","es6","module","transpile","amd","commonjs"],"install":[{"cmd":"npm install broccoli-es6-concatenator","lang":"bash","label":"npm"},{"cmd":"yarn add broccoli-es6-concatenator","lang":"bash","label":"yarn"},{"cmd":"pnpm add broccoli-es6-concatenator","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core dependency for Broccoli plugin system","package":"broccoli","optional":false},{"reason":"Provides ES6 module transpilation","package":"es6-module-transpiler","optional":false}],"imports":[{"note":"Package uses CommonJS (require). ESM import may fail in Node versions that don't support transpilation of CJS modules.","wrong":"import compileES6 from 'broccoli-es6-concatenator';","symbol":"compileES6 (default)","correct":"var compileES6 = require('broccoli-es6-concatenator');"},{"note":"Also works with ES2015-style const; still uses require.","wrong":null,"symbol":"compileES6 (default)","correct":"const compileES6 = require('broccoli-es6-concatenator');"},{"note":"Package exports a single function, not an object. Destructuring will yield undefined.","wrong":"const { compileES6 } = require('broccoli-es6-concatenator');","symbol":"compileES6 (default)","correct":"const compileES6 = require('broccoli-es6-concatenator');"}],"quickstart":{"code":"const compileES6 = require('broccoli-es6-concatenator');\nconst sourceTree = 'app'; // your source directory\nconst applicationJs = compileES6(sourceTree, {\n  loaderFile: 'loader.js',\n  ignoredModules: ['resolver'],\n  inputFiles: ['todomvc/**/*.js'],\n  legacyFilesToAppend: ['jquery.js', 'handlebars.js', 'ember.js'],\n  wrapInEval: true,\n  outputFile: '/assets/application.js'\n});\nmodule.exports = applicationJs;","lang":"javascript","description":"Shows how to require and use broccoli-es6-concatenator with common options like inputFiles, loaderFile, and wrapInEval."},"warnings":[{"fix":"Migrate to a modern bundler like Webpack, Rollup, or broccoli-rollup.","message":"This plugin is deprecated and uses an old version of es6-module-transpiler that does not correctly reflect ES6 module semantics.","severity":"deprecated","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":"Run npm install --save-dev es6-module-transpiler@~0.6.0 or ensure it's in package.json.","cause":"Missing dependency es6-module-transpiler in node_modules.","error":"Error: Cannot find module 'es6-module-transpiler'"},{"fix":"Use const compileES6 = require('broccoli-es6-concatenator');","cause":"Incorrect import; e.g., using destructuring { compileES6 }.","error":"TypeError: compileES6 is not a function"},{"fix":"Run npm install --save-dev broccoli","cause":"Broccoli is not installed or not in node_modules.","error":"Error: Cannot find module 'broccoli'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}