Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const wipe = require('wipe-node-cache') or require('wipe-webpack-cache');
- const resolver = (stubs, fileName, module) {
- // any logic about should one with some file, or not
- return !!stubs[fileName];
- };
- // wipe reselect, and everything depends on it, and everything up to the top
- wipe({
- 'reselect/lib/index.js': true,
- 'reselect/es/index.js': true
- }, resolver);
Add Comment
Please, Sign In to add comment