feat: 添加bun-test项目并配置Rollup打包

新增bun-test项目,包含Rollup配置、lodash-es依赖及示例代码,同时更新pnpm-lock.yaml
This commit is contained in:
xiongxiao
2026-01-01 00:10:50 +08:00
parent f8b80b2587
commit c9644c79cc
7 changed files with 184 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import { main } from './sw2.js';
import { main } from '/sw2.js';
self.onmessage = function (e) {
console.log(e.data, typeof e.data);
main(e.data);