mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed single lodash import
no issue - the dot notation only works if you install a single lodash dependency e.g. `yarn install lodash.get` - otherwise we have to use `lodash/get`
This commit is contained in:
parent
3afc2654aa
commit
9b704f1691
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
//
|
||||
// Returns the path to the specified asset. The ghost flag outputs the asset path for the Ghost admin
|
||||
const proxy = require('./proxy'),
|
||||
get = require('lodash.get'),
|
||||
get = require('lodash/get'),
|
||||
getAssetUrl = proxy.metaData.getAssetUrl,
|
||||
SafeString = proxy.SafeString;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue