1. buble-loader
lightweight ES2015 source loader for Webpack using Buble
buble-loader
Package: buble-loader
Created by: sairion
Last modified: Mon, 13 Jun 2022 05:14:20 GMT
Version: 0.5.1
License: MIT
Downloads: 15,071
Repository: https://github.com/sairion/buble-loader

Install

npm install buble-loader
yarn add buble-loader

buble-loader

This package allows you to transpile ES2015 source using buble. See Buble project website to check out supported features.

Installation

 npm i -S buble-loader buble

Usage

Add something like this to your webpack.config.js

 module: {
  rules: [
    {
      test: /\.js$/,
      loader: 'buble-loader',
      include: path.join(__dirname, 'src'),
      options: {
        objectAssign: 'Object.assign'
      }
    }
  ]
}

Dependencies

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code