fix lodash require
This commit is contained in:
parent
deb35ed38e
commit
ae4f33ac50
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
||||||
"author": "john@rootprojects.com",
|
"author": "john@rootprojects.com",
|
||||||
"license": "UNLICENSED",
|
"license": "UNLICENSED",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"body-parser": "^1.19.0"
|
"body-parser": "^1.19.0",
|
||||||
|
"lodash.escape": "^4.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
let escape = require("lodash/escape");
|
let escape = require("lodash.escape");
|
||||||
|
|
||||||
module.exports = function(strings) {
|
module.exports = function(strings) {
|
||||||
//first element is the strings, don't need it
|
//first element is the strings, don't need it
|
||||||
|
|
Loading…
Reference in a new issue