buble-loader

0.5.1 • Public • Published

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

Package Sidebar

Install

npm i buble-loader

Weekly Downloads

3,546

Version

0.5.1

License

MIT

Unpacked Size

2.25 kB

Total Files

3

Last publish

Collaborators

  • sairion