create-plugin-list.js 270 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 import { corePlugins } from '../src/corePlugins' import fs from 'fs' import path from 'path' let corePluginList = Object.keys(corePlugins) fs.writeFileSync( path.join(process.cwd(), 'src', 'corePluginList.js'), `export default ${JSON.stringify(corePluginList)}` )