forked from Streamedian/html5_rtsp_player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rollup.videojs.config.js
27 lines (24 loc) · 963 Bytes
/
rollup.videojs.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/videojs/src/videojs.streamedian.js'),
targets: [
{dest: path.join(__dirname, 'dist/test.videojs.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')
})
]
}