formidable-fix
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

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

Package Sidebar

Install

npm i formidable-fix

Weekly Downloads

3

Version

2.1.4

License

MIT

Unpacked Size

70.4 kB

Total Files

29

Last publish

Collaborators

  • theajack