mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore/CI: use Bun's worker
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
declare const self: Worker;
|
||||
|
||||
import { buildInternalReverseChnCIDR } from '../build-internal-reverse-chn-cidr';
|
||||
|
||||
self.onmessage = async () => {
|
||||
(async () => {
|
||||
const { buildInternalReverseChnCIDR } = await import('../build-internal-reverse-chn-cidr');
|
||||
const stat = await buildInternalReverseChnCIDR();
|
||||
postMessage(stat);
|
||||
};
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user