formidable-fix
v2.1.4
Published
Revised version of [formidable]
Downloads
18
Maintainers
Readme
Revised version of formidable
- 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`)));
});
- add Typeings