mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Update isModularize and isStrict detection.
This commit is contained in:
committed by
jdalton
parent
2ca75970c0
commit
5aaa0a7b5f
@@ -94,8 +94,8 @@
|
||||
var ui = root.ui || (root.ui = {
|
||||
'buildPath': filePath,
|
||||
'loaderPath': '',
|
||||
'isModularize': /\b(?:commonjs|(index|main)\.js|lodash-(?:amd|es6|node)|modularize|npm|transpiled)\b/.test(filePath),
|
||||
'isStrict': /\b(?:lodash-es6|transpiled)\b/.test(filePath),
|
||||
'isModularize': /\b(?:amd|commonjs|es6|node|npm|(index|main)\.js)\b/.test(filePath),
|
||||
'isStrict': /\bes6\b/.test(filePath),
|
||||
'urlParams': {}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user