Skip to content
Webpack loader that compiles ES2015 features using buble
Branch: master
Clone or download
Latest commit 1c463cc Jun 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test last empty line Mar 12, 2018
.gitignore last empty line Mar 12, 2018
.npmignore last empty line Mar 12, 2018
README.md rules test fix Mar 13, 2018
index.js Fixed err when loaderUtils.getOptions return null May 21, 2018
package.json 0.5.1 Jun 5, 2018

README.md

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'
      }
    }
  ]
}
You can’t perform that action at this time.