Skip to content
This repository was archived by the owner on Dec 11, 2019. It is now read-only.

Commit 2ba5ec9

Browse files
committed
add cache-require-paths
1 parent 39e856e commit 2ba5ec9

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public/built
4242
.DS-Store
4343
temp.VisualElementsManifest.xml
4444
app/extensions/gen/
45+
.cache-require-paths.json
4546

4647
# electron-packager output dirs
4748
*-darwin-x64

app/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
let ready = false
99

10+
require('cache-require-paths')
11+
1012
const CrashHerald = require('./crash-herald')
1113
const telemetry = require('./telemetry')
1214

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"bat-publisher": "^1.2.4",
9393
"bignumber.js": "^4.0.4",
9494
"bloodhound-js": "brave/bloodhound",
95+
"cache-require-paths": "^0.3.0",
9596
"clipboard-copy": "^1.0.0",
9697
"compare-versions": "^3.0.1",
9798
"deepmerge": "^2.0.1",

0 commit comments

Comments
 (0)