Network Performance Monitor

rollup-loader

0.3.0 • Public • Published

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

install

npm i rollup-loader

Downloadsweekly downloads

53

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability