import createFileResourceProvider from './createFileResourceProvider';

export function activate({ registerResourceProvider, findFiles, readFile, watchFiles, writeFile, config }) {
	if (config === null || typeof config === 'undefined') {
		return;
	}

	const providers = config.plugins['file-resources'].providers;

	// create a resource providers for every entry in the config (path->glob)
	for (let i = 0; i < providers.length; i++) {
		const providerConfig = providers[i];
		const fileResourceProvider = createFileResourceProvider(findFiles, readFile, watchFiles, writeFile, providerConfig.path, providerConfig.glob);
		registerResourceProvider(fileResourceProvider);
	}
}

@@ -339,17 +339,16 @@
 provider
-s
  for eve

Update packages/nocms-plugin-file-resources/src/index.js