chinese-summary 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -616,4 +616,5 @@ var ChineseSummary = (() => {
616
616
  }
617
617
  return __toCommonJS(chinese_summary_exports);
618
618
  })();
619
+ window.ChineseSummary = ChineseSummary;
619
620
  //# sourceMappingURL=chinese-summary.iife.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chinese-summary",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "中文文本概要提取库(TextRank + 位置加权 + TF-IDF + MMR)",
5
5
  "author": "郭玉峰, 吴琼 <gyfinjava@163.com> (北京锋通科技有限公司)",
6
6
  "license": "MIT",
package/tsup.config.ts CHANGED
@@ -24,5 +24,6 @@ export default defineConfig([
24
24
  sourcemap: true,
25
25
  outDir: "dist",
26
26
  outExtension: () => ({ js: ".iife.js" }),
27
+ footer: { js: "window.ChineseSummary = ChineseSummary;" },
27
28
  },
28
29
  ]);