Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Commit

Permalink
Use browser version of visionmedia-debug rather than Node.js version. C…
Browse files Browse the repository at this point in the history
…loses #30
  • Loading branch information
Daniel15 committed Apr 25, 2016
1 parent 96973e9 commit fb9b2a4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ gulp.task('build', function() {
new webpack.DefinePlugin({
'process.env.NODE_ENV': '"production"'
}),
// Use browser version of visionmedia-debug
new webpack.NormalModuleReplacementPlugin(
/debug\/node/,
'debug/browser'
),
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.optimize.DedupePlugin()
]
Expand Down

0 comments on commit fb9b2a4

Please sign in to comment.