Skip to content

Commit

Permalink
Merge pull request #56 from pasxel/issue/55
Browse files Browse the repository at this point in the history
Issue #55. Add lodash to webpack.ProvidePlugin
  • Loading branch information
adammparker authored Nov 17, 2022
2 parents 50e3214 + a8496f5 commit 3d18bb9
Show file tree
Hide file tree
Showing 4 changed files with 4,308 additions and 4,312 deletions.
2 changes: 1 addition & 1 deletion dist/js/tool.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions dist/js/tool.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/

//! Copyright (c) JS Foundation and other contributors

//! github.com/moment/moment-timezone
Expand Down
3 changes: 2 additions & 1 deletion nova.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class NovaExtension {

webpackConfig.plugins.push(
new webpack.ProvidePlugin({
moment: 'moment-timezone'
moment: 'moment-timezone',
_: 'lodash',
})
)

Expand Down
Loading

0 comments on commit 3d18bb9

Please sign in to comment.