@@ -4,11 +4,9 @@ import { getRuntime } from "@next-core/runtime";
44import antdIcons from "../antd-icon/generated/icons.json" ;
55import easyopsIcons from "../easyops-icon/generated/icons.json" ;
66import faIcons from "../fa-icon/generated/icons.json" ;
7- import lucideIcons from "../lucide-icon/generated/icons.json" ;
87import antdRanges from "../antd-icon/generated/ranges.json" ;
98import faRanges from "../fa-icon/generated/ranges.json" ;
109import easyopsRanges from "../easyops-icon/generated/ranges.json" ;
11- import lucideRanges from "../lucide-icon/generated/ranges.json" ;
1210
1311const publicPath =
1412 process . env . NODE_ENV === "test" ? "" : __webpack_public_path__ ;
@@ -29,11 +27,6 @@ const SETTINGS_MAP = {
2927 icons : easyopsIcons ,
3028 ranges : easyopsRanges ,
3129 } ,
32- lucide : {
33- url : `${ publicPath } chunks/lucide-icons/all.${ lucideRanges . _hash } .svg` ,
34- icons : lucideIcons ,
35- ranges : lucideRanges ,
36- } ,
3730} as unknown as Record < string , Settings > ;
3831
3932const TEST_URL = `${ publicPath } manifest.json` ;
@@ -99,7 +92,7 @@ export async function supportsMultipartRangeRequest() {
9992 return await supportsPromise ;
10093}
10194
102- type Lib = "antd" | "fa" | "easyops" | "lucide" ;
95+ type Lib = "antd" | "fa" | "easyops" ;
10396
10497interface Settings {
10598 url : string ;
@@ -141,7 +134,7 @@ const dbPromise = new Promise<IDBDatabase | null>((resolve) => {
141134 const db = ( event . target as IDBOpenDBRequest ) . result ;
142135 // These transactions maybe the same.
143136 const transactions = new Set < IDBTransaction > ( ) ;
144- for ( const lib of [ "antd" , "fa" , "easyops" , "lucide" ] ) {
137+ for ( const lib of [ "antd" , "fa" , "easyops" ] ) {
145138 if ( ! db . objectStoreNames . contains ( lib ) ) {
146139 transactions . add ( db . createObjectStore ( lib ) . transaction ) ;
147140 }
@@ -177,7 +170,7 @@ const dbPromise = new Promise<IDBDatabase | null>((resolve) => {
177170 return ;
178171 }
179172 Promise . all (
180- [ "antd" , "fa" , "easyops" , "lucide" ] . map (
173+ [ "antd" , "fa" , "easyops" ] . map (
181174 async ( lib ) =>
182175 new Promise < void > ( ( libResolve , libReject ) => {
183176 new Promise < string | null > ( ( hashResolve ) => {
0 commit comments