webpack-node-externals icon indicating copy to clipboard operation
webpack-node-externals copied to clipboard

Support options.skiplist (=[])

Open sushantdhiman opened this issue 4 years ago • 0 comments

Background

When bundling for server-less environment, cost of doing multiple require is too high. This plugin allows me to bundle code as a single file. I would like to bundle all node modules in same file, but skip a few of them, which don't support bundling.

Feature Request

There should be an option to include all node modules while skipping some of them with options.skiplist (=[]).

Currently as a work-around I am using negative look-ahead in allowlist, to skip some node modules while keeping everything else in same file.

sushantdhiman avatar Sep 27 '21 07:09 sushantdhiman