This package allows transpiling JavaScript files using Babel and webpack. Within your webpack configuration object, you'll need to add the babel-loader to the list of modules. You can pass options to the loader by using the options property. Make sure you are transforming as few files as possible. You can also speed up babel-loader by as much as 2x by using the cacheDirectory option. This will cache transformations to the filesystem. Babel uses very small helpers for common functions such as _extend. By default, this will be added to every file that requires it. You can instead require the Babel runtime as a separate module to avoid the duplication. Webpack supports bundling multiple targets. For cases where you may want different Babel configurations for each target (like web and node), this loader provides a target property via Babel's caller API.

Features

  • Customize config based on webpack target
  • Exclude libraries that should not be transpiled
  • Allow loaders to make additional tweaks to it
  • You can pass options to the loader by using the options property
  • Split custom options out of babel-loader's options
  • Allows transpiling JavaScript files using Babel and webpack

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Babel Loader

Babel Loader Web Site

Other Useful Business Software
$300 in Free Credit for Your Google Cloud Projects Icon
$300 in Free Credit for Your Google Cloud Projects

Build, test, and explore on Google Cloud with $300 in free credit. No hidden charges. No surprise bills.

Launch your next project with $300 in free Google Cloud credit—no hidden charges. Test, build, and deploy without risk. Use your credit across the Google Cloud platform to find what works best for your needs. After your credits are used, continue building with free monthly usage products. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Babel Loader!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2021-11-24