diff options
Diffstat (limited to 'data/cruft/browserify-regex')
-rw-r--r-- | data/cruft/browserify-regex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/cruft/browserify-regex b/data/cruft/browserify-regex new file mode 100644 index 0000000..a93d9d4 --- /dev/null +++ b/data/cruft/browserify-regex @@ -0,0 +1,4 @@ +# detect browserify stuff name ~~ lower case regex (?x) modifier first capture group is displayed +browserify-lite ~~ ([(] \s* function \s* [(] \s* modules \s* , \s* cache \s* , \s* entry \s* [)] \s* \{ .{0,30}) +webpack ~~ ([(] \s* function \s* webpackuniversalmoduledefinition \s* [(] \s* root \s* , \s* factory [)] .{0,30}) +browserify ~~ (if \s* [(]\s* "object" \s* ==\s* typeof \s* exports \s* && \s* "undefined" \s* !=\s* typeof \s* module \s* [)] .{0,30}) |