2.1.4 • Published 1 year ago

formidable-fix v2.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Revised version of formidable

  1. fixture

The following code will report an error that the plugins file cannot be found in the packaging situation, because the file directory has changed due to packaging

  this.options.enabledPlugins.forEach((pluginName) => {
    const plgName = pluginName.toLowerCase();
    // eslint-disable-next-line import/no-dynamic-require, global-require
    this.use(require(path.join(__dirname, 'plugins', `${plgName}.js`)));
  });
  1. add Typeings