FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

point lodash to lodash-node in config · devhttps/frontend@c4beeac · GitHub

Commit c4beeac

Browse files
committed
point lodash to lodash-node in config
1 parent 50347fc commit c4beeac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.flowconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module.name_mapper='^journalism' -> 'projects/journalism'
4545
module.name_mapper='^svgs' -> '<PROJECT_ROOT>/static/src/inline-svgs'
4646

4747
# modules that go by different names in webpack
48-
module.name_mapper='^lodash\(.*\)$' -> 'lodash-amd/compat\1'
48+
module.name_mapper='^lodash\(.*\)$' -> 'lodash-node/compat\1'
4949
module.name_mapper='^raven' -> 'raven-js'
5050
module.name_mapper='^EventEmitter' -> 'wolfy87-eventemitter'
5151
module.name_mapper='^videojs' -> 'video.js'

‎webpack.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ module.exports = {
5656
journalism: 'projects/journalism',
5757

5858
// #wp-rjs weird old aliasing from requirejs
59-
lodash: 'lodash-amd/compat',
59+
lodash: 'lodash-node/compat',
6060
raven: 'raven-js',
6161
EventEmitter: 'wolfy87-eventemitter',
6262
videojs: 'video.js',

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL