Skip to content

Commit

Permalink
Merge pull request #302 from jerryOnlyZRJ/master
Browse files Browse the repository at this point in the history
fix: solved the error — options is required
  • Loading branch information
valscion committed Jul 30, 2019
2 parents dfb9575 + 29825cf commit 8f57b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BundleAnalyzerPlugin.js
Expand Up @@ -8,7 +8,7 @@ const viewer = require('./viewer');

class BundleAnalyzerPlugin {

constructor(opts) {
constructor(opts = {}) {
this.opts = {
analyzerMode: 'server',
analyzerHost: '127.0.0.1',
Expand Down

0 comments on commit 8f57b5f

Please sign in to comment.