metalsmith-webpack
metalsmith-webpack copied to clipboard
Is there a way to provide a wildcard for the context?
I really like this plugin, it seems to work pretty well. I was wondering if theres a way to grab all the JS files in a specified directory? (Either /path/to/js/*.js
or /path/to/js/*
).
Thanks!
I don't really understand the question, but I think this is an issue for webpack itself rather than metalsmith-webpack
Maybe the webpack API has changed since v1, but the current api only uses context to specify a base path for your entry points, so you're specifying a directory rather than a file. If you want wildcards for entry points, I don't think metalsmith supports that.