mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-08 23:27:59 -05:00
Remove file extension from resolved lodash path (#2563)
This commit is contained in:
@@ -145,7 +145,7 @@ if (inBrowser) {
|
||||
|
||||
baseRequireConfig.baseUrl = __dirname + '/../src';
|
||||
baseRequireConfig.paths = {
|
||||
lodash: require.resolve('lodash'),
|
||||
lodash: require.resolve('lodash').replace(/\.[^/.]+$/, ""),
|
||||
test: __dirname + '/../feature-detects',
|
||||
lib: __dirname
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user