-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from tiktok/fix-website-build
fix: website build
- Loading branch information
Showing
3 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,7 +221,7 @@ | |
* | ||
* PNPM documentation: https://pnpm.io/package_json#pnpmpatcheddependencies | ||
*/ | ||
"globalPatchedDependencies": {}, | ||
"globalPatchedDependencies": { "[email protected]": "patches/[email protected]" }, | ||
|
||
/** | ||
* (USE AT YOUR OWN RISK) This is a free-form property bag that will be copied into | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
diff --git a/.npmignore b/.npmignore | ||
deleted file mode 100644 | ||
index dee86324b64e82374e8a5bc6bee027bbec12022c..0000000000000000000000000000000000000000 | ||
diff --git a/lunr.js b/lunr.js | ||
index 6aa370fbcb7b1b94eb8a19c433a5038352183b2a..a1bbd049d275fbdca3cf904f494a86ae1f305a00 100644 | ||
--- a/lunr.js | ||
+++ b/lunr.js | ||
@@ -76,8 +76,8 @@ lunr.utils = {} | ||
lunr.utils.warn = (function (global) { | ||
/* eslint-disable no-console */ | ||
return function (message) { | ||
- if (global.console && console.warn) { | ||
- console.warn(message) | ||
+ if (global.console && console.log) { | ||
+ console.log('[WARN]', message) | ||
} | ||
} | ||
/* eslint-enable no-console */ |