export more props of replayer to the UI

This commit is contained in:
Yanzhen Yu
2018-10-17 17:47:38 +08:00
parent d827fdc947
commit 8186f05e1c
5 changed files with 68 additions and 16 deletions

View File

@@ -22,21 +22,21 @@ export default [
],
},
{
input: './src/replay/index.ts',
input: './src/index.ts',
plugins: [typescript(), resolve()],
output: [
{
format: 'cjs',
file: './dist/replay/index.js',
file: './dist/index.js',
},
{
format: 'esm',
file: './dist/replay/module.js',
file: './dist/module.js',
},
{
name: 'replay',
name: 'rrweb',
format: 'iife',
file: './dist/replay/browser.js',
file: './dist/browser.js',
},
],
},