Skip to content

Commit 3d18bb9

Browse files
authored
Merge pull request #56 from pasxel/issue/55
Issue #55. Add lodash to webpack.ProvidePlugin
2 parents 50e3214 + a8496f5 commit 3d18bb9

File tree

4 files changed

+4308
-4312
lines changed

4 files changed

+4308
-4312
lines changed

dist/js/tool.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tool.js.LICENSE.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/**
2+
* @license
3+
* Lodash <https://lodash.com/>
4+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
5+
* Released under MIT license <https://lodash.com/license>
6+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
7+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
8+
*/
9+
110
//! Copyright (c) JS Foundation and other contributors
211

312
//! github.com/moment/moment-timezone

nova.mix.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ class NovaExtension {
1515

1616
webpackConfig.plugins.push(
1717
new webpack.ProvidePlugin({
18-
moment: 'moment-timezone'
18+
moment: 'moment-timezone',
19+
_: 'lodash',
1920
})
2021
)
2122

0 commit comments

Comments
 (0)