{"library":"karma-babel-preprocessor","type":"library","category":null,"description":"Karma preprocessor to compile ES6+ on the fly with Babel. Version 8.0.2, stable, maintained as part of the Babel ecosystem. Requires @babel/core 7 as a peer dependency. Use with Babel presets to transpile modern JavaScript during test runs. Not a module bundler; for CommonJS you need a separate bundler like webpack or browserify. Key differentiator: seamless integration with Karma test runner, supports per-file Babel options via function properties.","language":"javascript","status":"active","version":"8.0.2","tags":["javascript","karma-plugin","karma-preprocessor","babel","6to5","es6","es2015"],"last_verified":"Wed May 27","install":[{"cmd":"npm install karma-babel-preprocessor","imports":["module.exports = function(config) { config.set({ babelPreprocessor: { options: { presets: ['@babel/preset-env'] } } }); };","preprocessors: { 'src/**/*.js': ['babel'] }","babelPreprocessor: { options: { presets: ['@babel/preset-env'], sourceMap: 'inline' }, filename: function(file) { return file.originalPath; } }"]},{"cmd":"yarn add karma-babel-preprocessor","imports":[]},{"cmd":"pnpm add karma-babel-preprocessor","imports":[]}],"homepage":null,"github":"https://github.com/babel/karma-babel-preprocessor","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/karma-babel-preprocessor","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/karma-babel-preprocessor/compatibility"}}