Browse Source

fix lodash require

master
John Shaver 10 months ago
parent
commit
ae4f33ac50
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      package.json
  2. 1
    1
      templater.js

+ 2
- 1
package.json View File

@@ -9,6 +9,7 @@
"author": "john@rootprojects.com",
"license": "UNLICENSED",
"dependencies": {
"body-parser": "^1.19.0"
"body-parser": "^1.19.0",
"lodash.escape": "^4.0.1"
}
}

+ 1
- 1
templater.js View File

@@ -1,4 +1,4 @@
let escape = require("lodash/escape");
let escape = require("lodash.escape");

module.exports = function(strings) {
//first element is the strings, don't need it

Loading…
Cancel
Save