Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 911 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 911 Bytes

rollup-loader

NPM version Build Status

How does it work

It uses the rollup-plugin-memory to accept input file from webpack and returns processed result and sourcemaps.

Usage

// webpack.config.js
module.exports = {
  module: {
    rules: [{
      test: /\.js$/,
      loader: 'rollup-loader',
      options: [/* custom rollup plugins */]
      // or directly pass rollup options
      // options: { plugins: [] }
    }]
  }
}

Check out Rollup JavaScript API for option reference.

License

MIT © EGOIST