maestro-react-player
Version:
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
23 lines (21 loc) • 444 B
JavaScript
import path from 'path'
import config, { minifyPlugins } from './webpack.demo.babel'
export default {
...config,
entry: './src/standalone.js',
output: {
path: path.join(__dirname, 'dist'),
filename: 'ReactPlayer.standalone.js',
library: 'renderReactPlayer',
libraryExport: 'default'
},
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
}
]
},
plugins: minifyPlugins
}