Skip to content

Commit

Permalink
Fix browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Mar 7, 2016
1 parent 93db56e commit 78463b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ module.exports = {
entry: './src/ReactPlayer',
output: {
path: path.join(__dirname, 'dist'),
filename: 'ReactPlayer.js'
filename: 'ReactPlayer.js',
library: 'ReactPlayer'
},
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
Expand Down

0 comments on commit 78463b2

Please sign in to comment.