Rollup plugin to verify entry point and all imported files with fecs.
npm install rollup-plugin-fecs
import { rollup } from 'rollup';
import fecs from 'rollup-plugin-fecs';
rollup({
entry: 'main.js',
plugins: [
fecs({ /* your options */ })
]
});
See more options here fecs.