diff --git a/plugins/webpack-fui-worker-plugin/index.js b/plugins/webpack-fui-worker-plugin/index.js index caa782306..19f660299 100644 --- a/plugins/webpack-fui-worker-plugin/index.js +++ b/plugins/webpack-fui-worker-plugin/index.js @@ -7,7 +7,7 @@ const webpack = require('webpack'); const { WorkerPluginName } = require('./constants'); class FuiWorkerPlugin { - constructor(options) { + constructor(options = {}) { this.options = options; }