Release 0.4.0

This commit is contained in:
Yanzhen Yu
2019-11-14 17:47:36 +08:00
parent 169bc4b53f
commit 15f0c5ca26
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',