rollup-plugin-require-context

1.0.1 • Public • Published

rollup-plugin-require-context

rollup plugin for resovling webpack require-context.

usage

import requireContext from 'rollup-plugin-require-context';
 
export default {
  input: 'main.js',
  output: {
    file: 'bundle.js',
    format: 'iife'
  },
  plugins: [
    requireContext()
  ]
};

Dependents (17)

Package Sidebar

Install

npm i rollup-plugin-require-context

Weekly Downloads

592

Version

1.0.1

License

MIT

Unpacked Size

6.58 kB

Total Files

8

Last publish

Collaborators

  • elcarim5efil