Skip to content

shenyi-dra/rollup-plugin-require-context2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rollup-plugin-require-context2

rollup plugin for resovling webpack require-context.

reference

repo: https://github.com/elcarim5efil/rollup-plugin-require-context

issue: elcarim5efil#17

Due to this repo has not been updated for quite long time, and have created an issue these days. Hope it will fix very soon. So i have created my own repo to temperary fix this issue for now.

usage

import requireContext from 'rollup-plugin-require-context2';

export default {
  input: 'main.js',
  output: {
    file: 'bundle.js',
    format: 'iife'
  },
  plugins: [
    requireContext()
  ]
};

About

rollup-plugin to resovle webpack's requrie.context

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%