You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
270 B

2 years ago
  1. import { corePlugins } from '../src/corePlugins'
  2. import fs from 'fs'
  3. import path from 'path'
  4. let corePluginList = Object.keys(corePlugins)
  5. fs.writeFileSync(
  6. path.join(process.cwd(), 'src', 'corePluginList.js'),
  7. `export default ${JSON.stringify(corePluginList)}`
  8. )