forked from Streamedian/html5_rtsp_player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rollup.flow.config.js
27 lines (24 loc) · 968 Bytes
/
rollup.flow.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// import babel from 'rollup-plugin-babel';
import buble from 'rollup-plugin-buble';
import alias from 'rollup-plugin-alias';
const path = require('path');
export default {
entry: path.join(__dirname, '/plugins/flowplayer/flowplayer.streamedian.js'),
targets: [
{dest: path.join(__dirname, 'dist/test.flowplayer.bundle.js'), format: 'umd'}
],
sourceMap: true,
plugins: [
//buble({
//exclude: 'node_modules/**'
//}),
alias({
bp_logger: path.join(__dirname,'node_modules/bp_logger/logger'),
bp_event: path.join(__dirname,'node_modules/bp_event/event'),
bp_statemachine: path.join(__dirname,'node_modules/bp_statemachine/statemachine'),
jsencrypt: path.join(__dirname,'node_modules/jsencrypt/src/jsencrypt'),
rtsp: path.join(__dirname,'node_modules/html5_rtsp_player/src'),
streamedian: path.join(__dirname,'src')
})
]
}