Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 538 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 538 Bytes

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'
      }
    }
  ]
}