Release 0.4.0

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 795e6cd8dc
commit 70c8a6b9d1
3 changed files with 7 additions and 3 deletions

View File

@@ -9,7 +9,8 @@ const production = !process.env.ROLLUP_WATCH;
export default [
{ file: pkg.module, format: 'es' },
{ file: pkg.main, format: 'iife', name: 'rrwebPlayer' },
{ file: pkg.main, format: 'cjs' },
{ file: pkg.unpkg, format: 'iife', name: 'rrwebPlayer' },
{ file: 'public/bundle.js', format: 'iife', name: 'rrwebPlayer' },
].map(output => ({
input: 'src/Player.html',