rollup-plugin-require-context
v1.0.1
Published
rollup-plugin for webpack requrie-context
Downloads
2,428
Maintainers
Readme
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()
]
};