-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cannot resolve flexsearch (#30)
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -13,5 +13,10 @@ | |
"@playwright/test": "^1.40.0", | ||
"@types/node": "^20.8.10", | ||
"serve": "^14.2.1" | ||
}, | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
} | ||
} |
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
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,15 @@ | ||
diff --git a/package.json b/package.json | ||
index 5819f2fe2253489534ba64143b8b4c3f9b5870bf..30b29b8d3f19a12d6ec618446e023d0b521a6a28 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -29,10 +29,6 @@ | ||
}, | ||
"main": "dist/flexsearch.bundle.min.js", | ||
"module": "dist/flexsearch.bundle.module.min.js", | ||
- "browser": { | ||
- "dist/flexsearch.bundle.min.js": "dist/flexsearch.bundle.min.js", | ||
- "dist/flexsearch.bundle.module.min.js": "dist/flexsearch.bundle.module.min.js" | ||
- }, | ||
"scripts": { | ||
"build": "npm run copy && npm run build:bundle", | ||
"build:bundle": "node task/build RELEASE=bundle DEBUG=false SUPPORT_WORKER=true SUPPORT_ENCODER=true SUPPORT_CACHE=true SUPPORT_ASYNC=true SUPPORT_STORE=true SUPPORT_TAGS=true SUPPORT_SUGGESTION=true SUPPORT_SERIALIZE=true SUPPORT_DOCUMENT=true POLYFILL=false", |