We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a384683 commit 4a7eb4bCopy full SHA for 4a7eb4b
src/browser/index.js
@@ -7,7 +7,7 @@ else {
7
window[ns] = {};
8
// https://github.com/webpack/webpack/issues/625
9
// https://webpack.js.org/guides/dependency-management/#require-context
10
- const require_tmp = require.context('..', true, /\b(array|date|http_delete|http_get_blob|http_get_buffer|http_get_json|http_get_utf8|http_head|http_patch_json|http_post_json|http_post_multipart|http_put_buffer|http_put_json|http_put_utf8|identity|ignore|fcmp|filter|format|plural|random_int|urlmod|waitcb)[^/]*(?<!\.test)\.js$/);
+ const require_tmp = require.context('..', true, /^(?!.*(cli-apps|browser|\.d)\/).*\b(array|date|http_delete|http_get_blob|http_get_buffer|http_get_json|http_get_utf8|http_head|http_patch_json|http_post_json|http_post_multipart|http_put_buffer|http_put_json|http_put_utf8|identity|ignore|fcmp|filter|format|plural|random_int|urlmod|waitcb)[^/]*(?<!\.test)\.js$/);
11
require_tmp.keys().forEach(function (key) {
12
const [, basename] = key.match(/([^/]+)\.js$/);
13
window[ns][basename] = require_tmp(key);
0 commit comments