This loader can exclude/skip/empty modules by context/folder/path they were requested from
Installation
npm install --save-dev context-empty-loader
Usage
Webpack rule:
// Skips all polyfills from specified paths test: `/core-js/` use: loader: 'context-empty-loader' options: context: `/some-module/es/path/` `/another-module/`
Testing function is startsWith()