Browse Source

refactor: 加个默认值

es6
iapyang 2 years ago
parent
commit
b0ef84a060
  1. 2
      plugins/webpack-fui-worker-plugin/index.js

2
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;
}

Loading…
Cancel
Save