Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Ignoring Files #26

Open
baer opened this issue Aug 5, 2015 · 1 comment
Open

Support Ignoring Files #26

baer opened this issue Aug 5, 2015 · 1 comment

Comments

@baer
Copy link
Member

baer commented Aug 5, 2015

https://github.com/substack/node-browserify#bignorefile
https://webpack.github.io/docs/webpack-for-browserify-users.html#ignore

@divmain divmain added this to the v1.0 milestone Aug 6, 2015
@divmain divmain added the feature label Sep 2, 2015
@divmain divmain removed this from the v1.0 milestone Mar 12, 2016
@divmain
Copy link
Member

divmain commented Apr 6, 2016

This can be implemented as a simple plugin:

return opts => override => override("readSource", module =>
  module.path === opts.path ? "module.exports = {};" : override.CONTINUE
);

We can either provide this, along with a handful of other very simple plugins, or provide the solutions "cookbook" style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants